

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>scitools.Lumpy &mdash; SciTools 0.9.0 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.9.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    <link rel="top" title="SciTools 0.9.0 documentation" href="index.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="np-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li><a href="index.html">SciTools 0.9.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-scitools.Lumpy">
<span id="scitools-lumpy"></span><h1><a class="reference internal" href="#module-scitools.Lumpy" title="scitools.Lumpy"><tt class="xref py py-mod docutils literal"><span class="pre">scitools.Lumpy</span></tt></a><a class="headerlink" href="#module-scitools.Lumpy" title="Permalink to this headline">¶</a></h1>
<p>UML diagrams for Python</p>
<p>Lumpy generates UML diagrams (currently object and class diagrams)
from a running Python program. It is similar to a graphical debugger
in the sense that it generates a visualization of the state of a
running program, but it is different from a debugger in the sense that
it tries to generate high-level visualizations that are compliant (at
least in spirit) with standard UML.</p>
<p>There are three target audiences for this module: teachers, students
and software engineers. Teachers can use Lumpy to generate figures
that demonstrate a model of the execution of a Python
program. Students can use Lumpy to explore the behavior of the Python
interpreter. Software engineers can use Lumpy to extract the structure
of existing programs by diagramming the relationships among the
classes, including classes defined in libraries and the Python
interpreter.</p>
<blockquote>
<div><p>Copyright 2005 Allen B. Downey</p>
<blockquote>
<div><p>This file contains wrapper classes I use with tkinter.  It is
mostly for my own use; I don&#8217;t support it, and it is not very
well documented.</p>
<p>This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License
along with this program; if not, see
<a class="reference external" href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> or write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA</p>
</div></blockquote>
</div></blockquote>
<dl class="class">
<dt id="scitools.Lumpy.Binding">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Binding</tt><big>(</big><em>lumpy</em>, <em>key</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Binding"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Binding" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>the graphical representation of the binding between a
key and a value.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.bbox" title="scitools.Lumpy.Binding.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.bind" title="scitools.Lumpy.Binding.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.down" title="scitools.Lumpy.Binding.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.draw" title="scitools.Lumpy.Binding.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.draw_key" title="scitools.Lumpy.Binding.draw_key"><tt class="xref py py-obj docutils literal"><span class="pre">draw_key</span></tt></a>(diag,&nbsp;p,&nbsp;flip,&nbsp;tags)</td>
<td>draw a reference to a previously-drawn key rather</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.drawme" title="scitools.Lumpy.Binding.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.isdrawn" title="scitools.Lumpy.Binding.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.motion" title="scitools.Lumpy.Binding.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.pos" title="scitools.Lumpy.Binding.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.rebind" title="scitools.Lumpy.Binding.rebind"><tt class="xref py py-obj docutils literal"><span class="pre">rebind</span></tt></a>(val)</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Binding.set_offset" title="scitools.Lumpy.Binding.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Binding.up" title="scitools.Lumpy.Binding.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Binding.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Binding.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'rebind': &lt;function rebind at 0x50ea7d0&gt;, '__module__': 'scitools.Lumpy', 'drawme': &lt;function drawme at 0x50ea8c0&gt;, 'draw_key': &lt;function draw_key at 0x50ea848&gt;, '__init__': &lt;function __init__ at 0x50ea758&gt;, '__doc__': 'the graphical representation of the binding between a\n    key and a value.\n    '})</em><a class="headerlink" href="#scitools.Lumpy.Binding.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Binding.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>key</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Binding.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Binding.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Binding.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Binding.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Binding.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Binding.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Binding.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Binding.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.draw_key">
<tt class="descname">draw_key</tt><big>(</big><em>diag</em>, <em>p</em>, <em>flip</em>, <em>tags</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Binding.draw_key"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Binding.draw_key" title="Permalink to this definition">¶</a></dt>
<dd><p>draw a reference to a previously-drawn key rather
than drawing the key inside the mapping.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Binding.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Binding.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.rebind">
<tt class="descname">rebind</tt><big>(</big><em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Binding.rebind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Binding.rebind" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Binding.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Binding.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Binding.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Binding.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Binding.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Class">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Class</tt><big>(</big><em>lumpy</em>, <em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Instance" title="scitools.Lumpy.Instance"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Instance</span></tt></a></p>
<p>a graphical representation of a Class.  It inherits
from Instance, which controls how a Class appears in an
object diagram, and contains a ClassDiagramClass, which
controls how the Class appears in a class diagram.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.add_child" title="scitools.Lumpy.Class.add_child"><tt class="xref py py-obj docutils literal"><span class="pre">add_child</span></tt></a>(child)</td>
<td>when a subclass is created, it notifies its parent</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.add_hasa" title="scitools.Lumpy.Class.add_hasa"><tt class="xref py py-obj docutils literal"><span class="pre">add_hasa</span></tt></a>(child[,&nbsp;n])</td>
<td>increment the number of references we have found</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.add_ivar" title="scitools.Lumpy.Class.add_ivar"><tt class="xref py py-obj docutils literal"><span class="pre">add_ivar</span></tt></a>(var)</td>
<td>add to the set of instance variables for this class</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.bbox" title="scitools.Lumpy.Class.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>the bbox of a Mapping is the bbox of its box item.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.bind" title="scitools.Lumpy.Class.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.down" title="scitools.Lumpy.Class.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.draw" title="scitools.Lumpy.Class.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.drawme" title="scitools.Lumpy.Class.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>drawme is the middle part of the way objects are drawn.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.isdrawn" title="scitools.Lumpy.Class.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.motion" title="scitools.Lumpy.Class.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.pos" title="scitools.Lumpy.Class.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.scan_bindings" title="scitools.Lumpy.Class.scan_bindings"><tt class="xref py py-obj docutils literal"><span class="pre">scan_bindings</span></tt></a>(cls)</td>
<td>scan the bindings in this Instance, looking for</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.scan_val" title="scitools.Lumpy.Class.scan_val"><tt class="xref py py-obj docutils literal"><span class="pre">scan_val</span></tt></a>(cls,&nbsp;val)</td>
<td>if we find a reference to an object type, make a note</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.set_depth" title="scitools.Lumpy.Class.set_depth"><tt class="xref py py-obj docutils literal"><span class="pre">set_depth</span></tt></a>()</td>
<td>compute the maximum depth between this class and</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.set_height" title="scitools.Lumpy.Class.set_height"><tt class="xref py py-obj docutils literal"><span class="pre">set_height</span></tt></a>()</td>
<td>compute the maximum height between this class and</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Class.set_offset" title="scitools.Lumpy.Class.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Class.up" title="scitools.Lumpy.Class.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Class.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Class.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Class.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', 'set_height': &lt;function set_height at 0x50ea488&gt;, 'add_ivar': &lt;function add_ivar at 0x50ea578&gt;, 'set_depth': &lt;function set_depth at 0x50ea500&gt;, 'add_hasa': &lt;function add_hasa at 0x50ea410&gt;, 'add_child': &lt;function add_child at 0x50ea398&gt;, '__doc__': 'a graphical representation of a Class.  It inherits\n    from Instance, which controls how a Class appears in an\n    object diagram, and contains a ClassDiagramClass, which\n    controls how the Class appears in a class diagram.\n    ', '__init__': &lt;function __init__ at 0x50ea320&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Class.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Class.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Class.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Class.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Class.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Class.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Class.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Class.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.add_child">
<tt class="descname">add_child</tt><big>(</big><em>child</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.add_child"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.add_child" title="Permalink to this definition">¶</a></dt>
<dd><p>when a subclass is created, it notifies its parent
classes, who update their list of children</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.add_hasa">
<tt class="descname">add_hasa</tt><big>(</big><em>child</em>, <em>n=1</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.add_hasa"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.add_hasa" title="Permalink to this definition">¶</a></dt>
<dd><p>increment the number of references we have found
from this class to the given child class</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.add_ivar">
<tt class="descname">add_ivar</tt><big>(</big><em>var</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.add_ivar"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.add_ivar" title="Permalink to this definition">¶</a></dt>
<dd><p>add to the set of instance variables for this class</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>the bbox of a Mapping is the bbox of its box item.
This is different from other Things.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.drawme" title="Permalink to this definition">¶</a></dt>
<dd><p>drawme is the middle part of the way objects are drawn.
Thing.draw does some prep work, invokes drawme, and then
does some cleanup.  draw and drawme are not allowed to
modify pos.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.scan_bindings">
<tt class="descname">scan_bindings</tt><big>(</big><em>cls</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.scan_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>scan the bindings in this Instance, looking for
references to other object types; also, make a note
of the names of the instance variables.
cls is the Class object this instance belongs to.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.scan_val">
<tt class="descname">scan_val</tt><big>(</big><em>cls</em>, <em>val</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.scan_val" title="Permalink to this definition">¶</a></dt>
<dd><p>if we find a reference to an object type, make a note
of the HAS-A relationship.  If we find a reference to a
container type, scan it for references.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.set_depth">
<tt class="descname">set_depth</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.set_depth"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.set_depth" title="Permalink to this definition">¶</a></dt>
<dd><p>compute the maximum depth between this class and
a root class (one with no parents)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.set_height">
<tt class="descname">set_height</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Class.set_height"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Class.set_height" title="Permalink to this definition">¶</a></dt>
<dd><p>compute the maximum height between this class and
a leaf class (one with no children)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Class.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Class.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Class.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Class.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Class.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ClassDiagram">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ClassDiagram</tt><big>(</big><em>lumpy</em>, <em>classes=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagram" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Diagram" title="scitools.Lumpy.Diagram"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Diagram</span></tt></a></p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.add_arrow" title="scitools.Lumpy.ClassDiagram.add_arrow"><tt class="xref py py-obj docutils literal"><span class="pre">add_arrow</span></tt></a>(arrow)</td>
<td>append a new arrow on the list</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.ca" title="scitools.Lumpy.ClassDiagram.ca"><tt class="xref py py-obj docutils literal"><span class="pre">ca</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a canvas for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.close" title="scitools.Lumpy.ClassDiagram.close"><tt class="xref py py-obj docutils literal"><span class="pre">close</span></tt></a>()</td>
<td>close the window and exit</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.draw" title="scitools.Lumpy.ClassDiagram.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>()</td>
<td>draw the class diagram, including the classes in self.classes,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.draw_arrows" title="scitools.Lumpy.ClassDiagram.draw_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">draw_arrows</span></tt></a>()</td>
<td>draw all the arrows on the list</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.draw_classes" title="scitools.Lumpy.ClassDiagram.draw_classes"><tt class="xref py py-obj docutils literal"><span class="pre">draw_classes</span></tt></a>(classes,&nbsp;pos[,&nbsp;tags])</td>
<td>draw this list of classes and all their subclasses,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.printfile" title="scitools.Lumpy.ClassDiagram.printfile"><tt class="xref py py-obj docutils literal"><span class="pre">printfile</span></tt></a>()</td>
<td>dump the contents of the canvas to the filename in the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.setup" title="scitools.Lumpy.ClassDiagram.setup"><tt class="xref py py-obj docutils literal"><span class="pre">setup</span></tt></a>()</td>
<td>create the gui for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagram.update_arrows" title="scitools.Lumpy.ClassDiagram.update_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">update_arrows</span></tt></a>([n])</td>
<td>update up to n arrows (or all of them is n==None)</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', 'draw_classes': &lt;function draw_classes at 0x55510c8&gt;, 'draw': &lt;function draw at 0x5551050&gt;, '__init__': &lt;function __init__ at 0x50e8f50&gt;, '__doc__': None})</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>classes=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagram.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ClassDiagram.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__new__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ClassDiagram.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagram.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.add_arrow">
<tt class="descname">add_arrow</tt><big>(</big><em>arrow</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.add_arrow" title="Permalink to this definition">¶</a></dt>
<dd><p>append a new arrow on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.ca">
<tt class="descname">ca</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.ca" title="Permalink to this definition">¶</a></dt>
<dd><p>make a canvas for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.close">
<tt class="descname">close</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.close" title="Permalink to this definition">¶</a></dt>
<dd><p>close the window and exit</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.draw">
<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagram.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw the class diagram, including the classes in self.classes,
or if there are none, then all the classes Lumpy has seen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.draw_arrows">
<tt class="descname">draw_arrows</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.draw_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>draw all the arrows on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.draw_classes">
<tt class="descname">draw_classes</tt><big>(</big><em>classes</em>, <em>pos</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagram.draw_classes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.draw_classes" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this list of classes and all their subclasses,
starting at the given position.  Return a list of all
classes drawn.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.printfile">
<tt class="descname">printfile</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.printfile" title="Permalink to this definition">¶</a></dt>
<dd><p>dump the contents of the canvas to the filename in the
filename entry.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.setup">
<tt class="descname">setup</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.setup" title="Permalink to this definition">¶</a></dt>
<dd><p>create the gui for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagram.update_arrows">
<tt class="descname">update_arrows</tt><big>(</big><em>n=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagram.update_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>update up to n arrows (or all of them is n==None)</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ClassDiagramClass">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ClassDiagramClass</tt><big>(</big><em>lumpy</em>, <em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagramClass"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>a graphical representation of a Class as it appears
in a Class Diagram (which is different from the way class
objects appear in Object Diagrams).</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.arrow_head" title="scitools.Lumpy.ClassDiagramClass.arrow_head"><tt class="xref py py-obj docutils literal"><span class="pre">arrow_head</span></tt></a>(diag,&nbsp;bbox,&nbsp;tags[,&nbsp;size])</td>
<td>draw the hollow arrow head that connects this class</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.bbox" title="scitools.Lumpy.ClassDiagramClass.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.bind" title="scitools.Lumpy.ClassDiagramClass.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.down" title="scitools.Lumpy.ClassDiagramClass.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.draw" title="scitools.Lumpy.ClassDiagramClass.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.drawme" title="scitools.Lumpy.ClassDiagramClass.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.isdrawn" title="scitools.Lumpy.ClassDiagramClass.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.motion" title="scitools.Lumpy.ClassDiagramClass.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.pos" title="scitools.Lumpy.ClassDiagramClass.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.set_offset" title="scitools.Lumpy.ClassDiagramClass.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ClassDiagramClass.up" title="scitools.Lumpy.ClassDiagramClass.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__init__': &lt;function __init__ at 0x50ea5f0&gt;, '__module__': 'scitools.Lumpy', 'arrow_head': &lt;function arrow_head at 0x50ea6e0&gt;, 'drawme': &lt;function drawme at 0x50ea668&gt;, '__doc__': 'a graphical representation of a Class as it appears\n    in a Class Diagram (which is different from the way class\n    objects appear in Object Diagrams).\n    '})</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagramClass.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ClassDiagramClass.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ClassDiagramClass.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.arrow_head">
<tt class="descname">arrow_head</tt><big>(</big><em>diag</em>, <em>bbox</em>, <em>tags</em>, <em>size=0.5</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagramClass.arrow_head"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.arrow_head" title="Permalink to this definition">¶</a></dt>
<dd><p>draw the hollow arrow head that connects this class
to its children.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ClassDiagramClass.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ClassDiagramClass.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ClassDiagramClass.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ClassDiagramClass.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ContainsArrow">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ContainsArrow</tt><big>(</big><em>lumpy</em>, <em>parent</em>, <em>child</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ContainsArrow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ContainsArrow" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>a contains arrow, which shows a has-a relationship between
classes in a class diagram.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.bbox" title="scitools.Lumpy.ContainsArrow.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.bind" title="scitools.Lumpy.ContainsArrow.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.down" title="scitools.Lumpy.ContainsArrow.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.draw" title="scitools.Lumpy.ContainsArrow.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag)</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.isdrawn" title="scitools.Lumpy.ContainsArrow.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.motion" title="scitools.Lumpy.ContainsArrow.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.pos" title="scitools.Lumpy.ContainsArrow.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.set_offset" title="scitools.Lumpy.ContainsArrow.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.up" title="scitools.Lumpy.ContainsArrow.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ContainsArrow.update" title="scitools.Lumpy.ContainsArrow.update"><tt class="xref py py-obj docutils literal"><span class="pre">update</span></tt></a>()</td>
<td></td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'draw': &lt;function draw at 0x50eac80&gt;, 'update': &lt;function update at 0x50eacf8&gt;, '__module__': 'scitools.Lumpy', '__init__': &lt;function __init__ at 0x50eac08&gt;, '__doc__': 'a contains arrow, which shows a has-a relationship between\n    classes in a class diagram.\n    '})</em><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>parent</em>, <em>child</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ContainsArrow.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ContainsArrow.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ContainsArrow.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ContainsArrow.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.draw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ContainsArrow.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ContainsArrow.update">
<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ContainsArrow.update"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ContainsArrow.update" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.DiagCanvas">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">DiagCanvas</tt><big>(</big><em>w</em>, <em>transforms=None</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">scitools._Gui.GuiCanvas</span></tt></p>
<p>a Canvas for displaying Diagrams</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.add_transform" title="scitools.Lumpy.DiagCanvas.add_transform"><tt class="xref py py-obj docutils literal"><span class="pre">add_transform</span></tt></a>(transform[,&nbsp;index])</td>
<td>add the given transform at the given index in the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag" title="scitools.Lumpy.DiagCanvas.addtag"><tt class="xref py py-obj docutils literal"><span class="pre">addtag</span></tt></a>(*args)</td>
<td>Internal function.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_above" title="scitools.Lumpy.DiagCanvas.addtag_above"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_above</span></tt></a>(newtag,&nbsp;tagOrId)</td>
<td>Add tag NEWTAG to all items above TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_all" title="scitools.Lumpy.DiagCanvas.addtag_all"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_all</span></tt></a>(newtag)</td>
<td>Add tag NEWTAG to all items.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_below" title="scitools.Lumpy.DiagCanvas.addtag_below"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_below</span></tt></a>(newtag,&nbsp;tagOrId)</td>
<td>Add tag NEWTAG to all items below TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_closest" title="scitools.Lumpy.DiagCanvas.addtag_closest"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_closest</span></tt></a>(newtag,&nbsp;x,&nbsp;y[,&nbsp;halo,&nbsp;start])</td>
<td>Add tag NEWTAG to item which is closest to pixel at X, Y.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_enclosed" title="scitools.Lumpy.DiagCanvas.addtag_enclosed"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_enclosed</span></tt></a>(newtag,&nbsp;x1,&nbsp;y1,&nbsp;x2,&nbsp;y2)</td>
<td>Add tag NEWTAG to all items in the rectangle defined</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_overlapping" title="scitools.Lumpy.DiagCanvas.addtag_overlapping"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_overlapping</span></tt></a>(newtag,&nbsp;x1,&nbsp;y1,&nbsp;x2,&nbsp;y2)</td>
<td>Add tag NEWTAG to all items which overlap the rectangle</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.addtag_withtag" title="scitools.Lumpy.DiagCanvas.addtag_withtag"><tt class="xref py py-obj docutils literal"><span class="pre">addtag_withtag</span></tt></a>(newtag,&nbsp;tagOrId)</td>
<td>Add tag NEWTAG to all items with TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.after" title="scitools.Lumpy.DiagCanvas.after"><tt class="xref py py-obj docutils literal"><span class="pre">after</span></tt></a>(ms[,&nbsp;func])</td>
<td>Call function once after given time.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.after_cancel" title="scitools.Lumpy.DiagCanvas.after_cancel"><tt class="xref py py-obj docutils literal"><span class="pre">after_cancel</span></tt></a>(id)</td>
<td>Cancel scheduling of function identified with ID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.after_idle" title="scitools.Lumpy.DiagCanvas.after_idle"><tt class="xref py py-obj docutils literal"><span class="pre">after_idle</span></tt></a>(func,&nbsp;*args)</td>
<td>Call FUNC once if the Tcl main loop has no event to</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.arrow" title="scitools.Lumpy.DiagCanvas.arrow"><tt class="xref py py-obj docutils literal"><span class="pre">arrow</span></tt></a>(start,&nbsp;end,&nbsp;**options)</td>
<td>draw an arrow: start and end can be a Pos object or</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bbox" title="scitools.Lumpy.DiagCanvas.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>(item)</td>
<td>compute the bounding box of the given item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bell" title="scitools.Lumpy.DiagCanvas.bell"><tt class="xref py py-obj docutils literal"><span class="pre">bell</span></tt></a>([displayof])</td>
<td>Ring a display&#8217;s bell.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bind" title="scitools.Lumpy.DiagCanvas.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to this widget at event SEQUENCE a call to function FUNC.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bind_all" title="scitools.Lumpy.DiagCanvas.bind_all"><tt class="xref py py-obj docutils literal"><span class="pre">bind_all</span></tt></a>([sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to all widgets at an event SEQUENCE a call to function FUNC.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bind_class" title="scitools.Lumpy.DiagCanvas.bind_class"><tt class="xref py py-obj docutils literal"><span class="pre">bind_class</span></tt></a>(className[,&nbsp;sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to widgets with bindtag CLASSNAME at event</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.bindtags" title="scitools.Lumpy.DiagCanvas.bindtags"><tt class="xref py py-obj docutils literal"><span class="pre">bindtags</span></tt></a>([tagList])</td>
<td>Set or get the list of bindtags for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.box" title="scitools.Lumpy.DiagCanvas.box"><tt class="xref py py-obj docutils literal"><span class="pre">box</span></tt></a>(box[,&nbsp;padx,&nbsp;pady])</td>
<td>draw a rectangle with the given bounding box, expanded</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.canvasx" title="scitools.Lumpy.DiagCanvas.canvasx"><tt class="xref py py-obj docutils literal"><span class="pre">canvasx</span></tt></a>(screenx[,&nbsp;gridspacing])</td>
<td>Return the canvas x coordinate of pixel position SCREENX rounded</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.canvasy" title="scitools.Lumpy.DiagCanvas.canvasy"><tt class="xref py py-obj docutils literal"><span class="pre">canvasy</span></tt></a>(screeny[,&nbsp;gridspacing])</td>
<td>Return the canvas y coordinate of pixel position SCREENY rounded</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.cget" title="scitools.Lumpy.DiagCanvas.cget"><tt class="xref py py-obj docutils literal"><span class="pre">cget</span></tt></a>(key)</td>
<td>Return the resource value for a KEY given as string.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.circle" title="scitools.Lumpy.DiagCanvas.circle"><tt class="xref py py-obj docutils literal"><span class="pre">circle</span></tt></a>(x,&nbsp;y,&nbsp;r[,&nbsp;fill])</td>
<td>make a circle with center at (x, y) and radius (r)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.clipboard_append" title="scitools.Lumpy.DiagCanvas.clipboard_append"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_append</span></tt></a>(string,&nbsp;**kw)</td>
<td>Append STRING to the Tk clipboard.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.clipboard_clear" title="scitools.Lumpy.DiagCanvas.clipboard_clear"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_clear</span></tt></a>(**kw)</td>
<td>Clear the data in the Tk clipboard.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.clipboard_get" title="scitools.Lumpy.DiagCanvas.clipboard_get"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_get</span></tt></a>(**kw)</td>
<td>Retrieve data from the clipboard on window&#8217;s display.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.colormodel" title="scitools.Lumpy.DiagCanvas.colormodel"><tt class="xref py py-obj docutils literal"><span class="pre">colormodel</span></tt></a>([value])</td>
<td>Useless.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.columnconfigure" title="scitools.Lumpy.DiagCanvas.columnconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">columnconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure column INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.config" title="scitools.Lumpy.DiagCanvas.config"><tt class="xref py py-obj docutils literal"><span class="pre">config</span></tt></a>([cnf])</td>
<td>Configure resources of a widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.configure" title="scitools.Lumpy.DiagCanvas.configure"><tt class="xref py py-obj docutils literal"><span class="pre">configure</span></tt></a>([cnf])</td>
<td>Configure resources of a widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.coords" title="scitools.Lumpy.DiagCanvas.coords"><tt class="xref py py-obj docutils literal"><span class="pre">coords</span></tt></a>(*args)</td>
<td>Return a list of coordinates for the item given in ARGS.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_arc" title="scitools.Lumpy.DiagCanvas.create_arc"><tt class="xref py py-obj docutils literal"><span class="pre">create_arc</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create arc shaped region with coordinates x1,y1,x2,y2.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_bitmap" title="scitools.Lumpy.DiagCanvas.create_bitmap"><tt class="xref py py-obj docutils literal"><span class="pre">create_bitmap</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create bitmap with coordinates x1,y1.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_image" title="scitools.Lumpy.DiagCanvas.create_image"><tt class="xref py py-obj docutils literal"><span class="pre">create_image</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create image item with coordinates x1,y1.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_line" title="scitools.Lumpy.DiagCanvas.create_line"><tt class="xref py py-obj docutils literal"><span class="pre">create_line</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create line with coordinates x1,y1,...,xn,yn.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_oval" title="scitools.Lumpy.DiagCanvas.create_oval"><tt class="xref py py-obj docutils literal"><span class="pre">create_oval</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create oval with coordinates x1,y1,x2,y2.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_polygon" title="scitools.Lumpy.DiagCanvas.create_polygon"><tt class="xref py py-obj docutils literal"><span class="pre">create_polygon</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create polygon with coordinates x1,y1,...,xn,yn.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_rectangle" title="scitools.Lumpy.DiagCanvas.create_rectangle"><tt class="xref py py-obj docutils literal"><span class="pre">create_rectangle</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create rectangle with coordinates x1,y1,x2,y2.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_text" title="scitools.Lumpy.DiagCanvas.create_text"><tt class="xref py py-obj docutils literal"><span class="pre">create_text</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create text with coordinates x1,y1.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.create_window" title="scitools.Lumpy.DiagCanvas.create_window"><tt class="xref py py-obj docutils literal"><span class="pre">create_window</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Create window with coordinates x1,y1,x2,y2.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.dchars" title="scitools.Lumpy.DiagCanvas.dchars"><tt class="xref py py-obj docutils literal"><span class="pre">dchars</span></tt></a>(*args)</td>
<td>Delete characters of text items identified by tag or id in ARGS (possibly</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.delete" title="scitools.Lumpy.DiagCanvas.delete"><tt class="xref py py-obj docutils literal"><span class="pre">delete</span></tt></a>(*args)</td>
<td>Delete items identified by all tag or ids contained in ARGS.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.deletecommand" title="scitools.Lumpy.DiagCanvas.deletecommand"><tt class="xref py py-obj docutils literal"><span class="pre">deletecommand</span></tt></a>(name)</td>
<td>Internal function.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.destroy" title="scitools.Lumpy.DiagCanvas.destroy"><tt class="xref py py-obj docutils literal"><span class="pre">destroy</span></tt></a>()</td>
<td>Destroy this and all descendants widgets.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.dot" title="scitools.Lumpy.DiagCanvas.dot"><tt class="xref py py-obj docutils literal"><span class="pre">dot</span></tt></a>(pos[,&nbsp;r])</td>
<td>draw a dot at the given position with radius r</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.dtag" title="scitools.Lumpy.DiagCanvas.dtag"><tt class="xref py py-obj docutils literal"><span class="pre">dtag</span></tt></a>(*args)</td>
<td>Delete tag or id given as last arguments in ARGS from items</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.dump" title="scitools.Lumpy.DiagCanvas.dump"><tt class="xref py py-obj docutils literal"><span class="pre">dump</span></tt></a>([filename])</td>
<td>create a PostScipt file with the given name and dump</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.event_add" title="scitools.Lumpy.DiagCanvas.event_add"><tt class="xref py py-obj docutils literal"><span class="pre">event_add</span></tt></a>(virtual,&nbsp;*sequences)</td>
<td>Bind a virtual event VIRTUAL (of the form &lt;&lt;Name&gt;&gt;)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.event_delete" title="scitools.Lumpy.DiagCanvas.event_delete"><tt class="xref py py-obj docutils literal"><span class="pre">event_delete</span></tt></a>(virtual,&nbsp;*sequences)</td>
<td>Unbind a virtual event VIRTUAL from SEQUENCE.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.event_generate" title="scitools.Lumpy.DiagCanvas.event_generate"><tt class="xref py py-obj docutils literal"><span class="pre">event_generate</span></tt></a>(sequence,&nbsp;**kw)</td>
<td>Generate an event SEQUENCE. Additional</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.event_info" title="scitools.Lumpy.DiagCanvas.event_info"><tt class="xref py py-obj docutils literal"><span class="pre">event_info</span></tt></a>([virtual])</td>
<td>Return a list of all virtual events or the information</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find" title="scitools.Lumpy.DiagCanvas.find"><tt class="xref py py-obj docutils literal"><span class="pre">find</span></tt></a>(*args)</td>
<td>Internal function.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_above" title="scitools.Lumpy.DiagCanvas.find_above"><tt class="xref py py-obj docutils literal"><span class="pre">find_above</span></tt></a>(tagOrId)</td>
<td>Return items above TAGORID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_all" title="scitools.Lumpy.DiagCanvas.find_all"><tt class="xref py py-obj docutils literal"><span class="pre">find_all</span></tt></a>()</td>
<td>Return all items.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_below" title="scitools.Lumpy.DiagCanvas.find_below"><tt class="xref py py-obj docutils literal"><span class="pre">find_below</span></tt></a>(tagOrId)</td>
<td>Return all items below TAGORID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_closest" title="scitools.Lumpy.DiagCanvas.find_closest"><tt class="xref py py-obj docutils literal"><span class="pre">find_closest</span></tt></a>(x,&nbsp;y[,&nbsp;halo,&nbsp;start])</td>
<td>Return item which is closest to pixel at X, Y.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_enclosed" title="scitools.Lumpy.DiagCanvas.find_enclosed"><tt class="xref py py-obj docutils literal"><span class="pre">find_enclosed</span></tt></a>(x1,&nbsp;y1,&nbsp;x2,&nbsp;y2)</td>
<td>Return all items in rectangle defined</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_overlapping" title="scitools.Lumpy.DiagCanvas.find_overlapping"><tt class="xref py py-obj docutils literal"><span class="pre">find_overlapping</span></tt></a>(x1,&nbsp;y1,&nbsp;x2,&nbsp;y2)</td>
<td>Return all items which overlap the rectangle</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.find_withtag" title="scitools.Lumpy.DiagCanvas.find_withtag"><tt class="xref py py-obj docutils literal"><span class="pre">find_withtag</span></tt></a>(tagOrId)</td>
<td>Return all items with TAGORID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.flipx" title="scitools.Lumpy.DiagCanvas.flipx"><tt class="xref py py-obj docutils literal"><span class="pre">flipx</span></tt></a>(item)</td>
<td>warning: this works in pixel coordinates</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus" title="scitools.Lumpy.DiagCanvas.focus"><tt class="xref py py-obj docutils literal"><span class="pre">focus</span></tt></a>(*args)</td>
<td>Set focus to the first item specified in ARGS.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus_displayof" title="scitools.Lumpy.DiagCanvas.focus_displayof"><tt class="xref py py-obj docutils literal"><span class="pre">focus_displayof</span></tt></a>()</td>
<td>Return the widget which has currently the focus on the display where this widget is located.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus_force" title="scitools.Lumpy.DiagCanvas.focus_force"><tt class="xref py py-obj docutils literal"><span class="pre">focus_force</span></tt></a>()</td>
<td>Direct input focus to this widget even if the application does not have the focus.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus_get" title="scitools.Lumpy.DiagCanvas.focus_get"><tt class="xref py py-obj docutils literal"><span class="pre">focus_get</span></tt></a>()</td>
<td>Return the widget which has currently the focus in the application.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus_lastfor" title="scitools.Lumpy.DiagCanvas.focus_lastfor"><tt class="xref py py-obj docutils literal"><span class="pre">focus_lastfor</span></tt></a>()</td>
<td>Return the widget which would have the focus if top level</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.focus_set" title="scitools.Lumpy.DiagCanvas.focus_set"><tt class="xref py py-obj docutils literal"><span class="pre">focus_set</span></tt></a>()</td>
<td>Direct input focus to this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.forget" title="scitools.Lumpy.DiagCanvas.forget"><tt class="xref py py-obj docutils literal"><span class="pre">forget</span></tt></a>()</td>
<td>Unmap this widget and do not use it for the packing order.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.getboolean" title="scitools.Lumpy.DiagCanvas.getboolean"><tt class="xref py py-obj docutils literal"><span class="pre">getboolean</span></tt></a>(s)</td>
<td>Return a boolean value for Tcl boolean values true and false given as parameter.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.getdouble" title="scitools.Lumpy.DiagCanvas.getdouble"><tt class="xref py py-obj docutils literal"><span class="pre">getdouble</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.getint" title="scitools.Lumpy.DiagCanvas.getint"><tt class="xref py py-obj docutils literal"><span class="pre">getint</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.gettags" title="scitools.Lumpy.DiagCanvas.gettags"><tt class="xref py py-obj docutils literal"><span class="pre">gettags</span></tt></a>(*args)</td>
<td>Return tags associated with the first item specified in ARGS.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.getvar" title="scitools.Lumpy.DiagCanvas.getvar"><tt class="xref py py-obj docutils literal"><span class="pre">getvar</span></tt></a>([name])</td>
<td>Return value of Tcl variable NAME.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grab_current" title="scitools.Lumpy.DiagCanvas.grab_current"><tt class="xref py py-obj docutils literal"><span class="pre">grab_current</span></tt></a>()</td>
<td>Return widget which has currently the grab in this application</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grab_release" title="scitools.Lumpy.DiagCanvas.grab_release"><tt class="xref py py-obj docutils literal"><span class="pre">grab_release</span></tt></a>()</td>
<td>Release grab for this widget if currently set.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grab_set" title="scitools.Lumpy.DiagCanvas.grab_set"><tt class="xref py py-obj docutils literal"><span class="pre">grab_set</span></tt></a>()</td>
<td>Set grab for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grab_set_global" title="scitools.Lumpy.DiagCanvas.grab_set_global"><tt class="xref py py-obj docutils literal"><span class="pre">grab_set_global</span></tt></a>()</td>
<td>Set global grab for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grab_status" title="scitools.Lumpy.DiagCanvas.grab_status"><tt class="xref py py-obj docutils literal"><span class="pre">grab_status</span></tt></a>()</td>
<td>Return None, &#8220;local&#8221; or &#8220;global&#8221; if this widget has</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid" title="scitools.Lumpy.DiagCanvas.grid"><tt class="xref py py-obj docutils literal"><span class="pre">grid</span></tt></a>([cnf])</td>
<td>Position a widget in the parent widget in a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_bbox" title="scitools.Lumpy.DiagCanvas.grid_bbox"><tt class="xref py py-obj docutils literal"><span class="pre">grid_bbox</span></tt></a>([column,&nbsp;row,&nbsp;col2,&nbsp;row2])</td>
<td>Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_columnconfigure" title="scitools.Lumpy.DiagCanvas.grid_columnconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">grid_columnconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure column INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_configure" title="scitools.Lumpy.DiagCanvas.grid_configure"><tt class="xref py py-obj docutils literal"><span class="pre">grid_configure</span></tt></a>([cnf])</td>
<td>Position a widget in the parent widget in a grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_forget" title="scitools.Lumpy.DiagCanvas.grid_forget"><tt class="xref py py-obj docutils literal"><span class="pre">grid_forget</span></tt></a>()</td>
<td>Unmap this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_info" title="scitools.Lumpy.DiagCanvas.grid_info"><tt class="xref py py-obj docutils literal"><span class="pre">grid_info</span></tt></a>()</td>
<td>Return information about the options</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_location" title="scitools.Lumpy.DiagCanvas.grid_location"><tt class="xref py py-obj docutils literal"><span class="pre">grid_location</span></tt></a>(x,&nbsp;y)</td>
<td>Return a tuple of column and row which identify the cell</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_propagate" title="scitools.Lumpy.DiagCanvas.grid_propagate"><tt class="xref py py-obj docutils literal"><span class="pre">grid_propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_remove" title="scitools.Lumpy.DiagCanvas.grid_remove"><tt class="xref py py-obj docutils literal"><span class="pre">grid_remove</span></tt></a>()</td>
<td>Unmap this widget but remember the grid options.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_rowconfigure" title="scitools.Lumpy.DiagCanvas.grid_rowconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">grid_rowconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure row INDEX of a grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_size" title="scitools.Lumpy.DiagCanvas.grid_size"><tt class="xref py py-obj docutils literal"><span class="pre">grid_size</span></tt></a>()</td>
<td>Return a tuple of the number of column and rows in the grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.grid_slaves" title="scitools.Lumpy.DiagCanvas.grid_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">grid_slaves</span></tt></a>([row,&nbsp;column])</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.icursor" title="scitools.Lumpy.DiagCanvas.icursor"><tt class="xref py py-obj docutils literal"><span class="pre">icursor</span></tt></a>(*args)</td>
<td>Set cursor at position POS in the item identified by TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.image" title="scitools.Lumpy.DiagCanvas.image"><tt class="xref py py-obj docutils literal"><span class="pre">image</span></tt></a>(coord,&nbsp;image,&nbsp;**options)</td>
<td>make an image item with the given image at the given position.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.image_names" title="scitools.Lumpy.DiagCanvas.image_names"><tt class="xref py py-obj docutils literal"><span class="pre">image_names</span></tt></a>()</td>
<td>Return a list of all existing image names.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.image_types" title="scitools.Lumpy.DiagCanvas.image_types"><tt class="xref py py-obj docutils literal"><span class="pre">image_types</span></tt></a>()</td>
<td>Return a list of all available image types (e.g.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.index" title="scitools.Lumpy.DiagCanvas.index"><tt class="xref py py-obj docutils literal"><span class="pre">index</span></tt></a>(*args)</td>
<td>Return position of cursor as integer in item specified in ARGS.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.info" title="scitools.Lumpy.DiagCanvas.info"><tt class="xref py py-obj docutils literal"><span class="pre">info</span></tt></a>()</td>
<td>Return information about the packing options</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.insert" title="scitools.Lumpy.DiagCanvas.insert"><tt class="xref py py-obj docutils literal"><span class="pre">insert</span></tt></a>(*args)</td>
<td>Insert TEXT in item TAGORID at position POS. ARGS must</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.invert" title="scitools.Lumpy.DiagCanvas.invert"><tt class="xref py py-obj docutils literal"><span class="pre">invert</span></tt></a>(coords)</td>
<td>apply the inverse of each of the transforms, in reverse</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.itemcget" title="scitools.Lumpy.DiagCanvas.itemcget"><tt class="xref py py-obj docutils literal"><span class="pre">itemcget</span></tt></a>(tagOrId,&nbsp;option)</td>
<td>Return the resource value for an OPTION for item TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.itemconfig" title="scitools.Lumpy.DiagCanvas.itemconfig"><tt class="xref py py-obj docutils literal"><span class="pre">itemconfig</span></tt></a>(tagOrId[,&nbsp;cnf])</td>
<td>Configure resources of an item TAGORID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.itemconfigure" title="scitools.Lumpy.DiagCanvas.itemconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">itemconfigure</span></tt></a>(tagOrId[,&nbsp;cnf])</td>
<td>Configure resources of an item TAGORID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.keys" title="scitools.Lumpy.DiagCanvas.keys"><tt class="xref py py-obj docutils literal"><span class="pre">keys</span></tt></a>()</td>
<td>Return a list of all resource names of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.lift" title="scitools.Lumpy.DiagCanvas.lift"><tt class="xref py py-obj docutils literal"><span class="pre">lift</span></tt></a>(*args)</td>
<td>Raise an item TAGORID given in ARGS</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.line" title="scitools.Lumpy.DiagCanvas.line"><tt class="xref py py-obj docutils literal"><span class="pre">line</span></tt></a>(coords[,&nbsp;fill])</td>
<td>make a polyline with vertices at each point in (coords)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.location" title="scitools.Lumpy.DiagCanvas.location"><tt class="xref py py-obj docutils literal"><span class="pre">location</span></tt></a>(x,&nbsp;y)</td>
<td>Return a tuple of column and row which identify the cell</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.lower" title="scitools.Lumpy.DiagCanvas.lower"><tt class="xref py py-obj docutils literal"><span class="pre">lower</span></tt></a>(*args)</td>
<td>Lower an item TAGORID given in ARGS</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.mainloop" title="scitools.Lumpy.DiagCanvas.mainloop"><tt class="xref py py-obj docutils literal"><span class="pre">mainloop</span></tt></a>([n])</td>
<td>Call the mainloop of Tk.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.measure" title="scitools.Lumpy.DiagCanvas.measure"><tt class="xref py py-obj docutils literal"><span class="pre">measure</span></tt></a>(t,&nbsp;**options)</td>
<td>find the bounding box of the list of words by</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.move" title="scitools.Lumpy.DiagCanvas.move"><tt class="xref py py-obj docutils literal"><span class="pre">move</span></tt></a>(*args)</td>
<td>Move an item TAGORID given in ARGS.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.nametowidget" title="scitools.Lumpy.DiagCanvas.nametowidget"><tt class="xref py py-obj docutils literal"><span class="pre">nametowidget</span></tt></a>(name)</td>
<td>Return the Tkinter instance of a widget identified by</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.option_add" title="scitools.Lumpy.DiagCanvas.option_add"><tt class="xref py py-obj docutils literal"><span class="pre">option_add</span></tt></a>(pattern,&nbsp;value[,&nbsp;priority])</td>
<td>Set a VALUE (second parameter) for an option</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.option_clear" title="scitools.Lumpy.DiagCanvas.option_clear"><tt class="xref py py-obj docutils literal"><span class="pre">option_clear</span></tt></a>()</td>
<td>Clear the option database.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.option_get" title="scitools.Lumpy.DiagCanvas.option_get"><tt class="xref py py-obj docutils literal"><span class="pre">option_get</span></tt></a>(name,&nbsp;className)</td>
<td>Return the value for an option NAME for this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.option_readfile" title="scitools.Lumpy.DiagCanvas.option_readfile"><tt class="xref py py-obj docutils literal"><span class="pre">option_readfile</span></tt></a>(fileName[,&nbsp;priority])</td>
<td>Read file FILENAME into the option database.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.oval" title="scitools.Lumpy.DiagCanvas.oval"><tt class="xref py py-obj docutils literal"><span class="pre">oval</span></tt></a>(coords[,&nbsp;fill])</td>
<td>make an oval with bounding box (coords) and fill color (fill)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack" title="scitools.Lumpy.DiagCanvas.pack"><tt class="xref py py-obj docutils literal"><span class="pre">pack</span></tt></a>([cnf])</td>
<td>Pack a widget in the parent widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack_configure" title="scitools.Lumpy.DiagCanvas.pack_configure"><tt class="xref py py-obj docutils literal"><span class="pre">pack_configure</span></tt></a>([cnf])</td>
<td>Pack a widget in the parent widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack_forget" title="scitools.Lumpy.DiagCanvas.pack_forget"><tt class="xref py py-obj docutils literal"><span class="pre">pack_forget</span></tt></a>()</td>
<td>Unmap this widget and do not use it for the packing order.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack_info" title="scitools.Lumpy.DiagCanvas.pack_info"><tt class="xref py py-obj docutils literal"><span class="pre">pack_info</span></tt></a>()</td>
<td>Return information about the packing options</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack_propagate" title="scitools.Lumpy.DiagCanvas.pack_propagate"><tt class="xref py py-obj docutils literal"><span class="pre">pack_propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.pack_slaves" title="scitools.Lumpy.DiagCanvas.pack_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">pack_slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.place" title="scitools.Lumpy.DiagCanvas.place"><tt class="xref py py-obj docutils literal"><span class="pre">place</span></tt></a>([cnf])</td>
<td>Place a widget in the parent widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.place_configure" title="scitools.Lumpy.DiagCanvas.place_configure"><tt class="xref py py-obj docutils literal"><span class="pre">place_configure</span></tt></a>([cnf])</td>
<td>Place a widget in the parent widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.place_forget" title="scitools.Lumpy.DiagCanvas.place_forget"><tt class="xref py py-obj docutils literal"><span class="pre">place_forget</span></tt></a>()</td>
<td>Unmap this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.place_info" title="scitools.Lumpy.DiagCanvas.place_info"><tt class="xref py py-obj docutils literal"><span class="pre">place_info</span></tt></a>()</td>
<td>Return information about the placing options</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.place_slaves" title="scitools.Lumpy.DiagCanvas.place_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">place_slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.polygon" title="scitools.Lumpy.DiagCanvas.polygon"><tt class="xref py py-obj docutils literal"><span class="pre">polygon</span></tt></a>(coords[,&nbsp;fill])</td>
<td>make a close polygon with vertices at each point in (coords)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.postscript" title="scitools.Lumpy.DiagCanvas.postscript"><tt class="xref py py-obj docutils literal"><span class="pre">postscript</span></tt></a>([cnf])</td>
<td>Print the contents of the canvas to a postscript file.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.propagate" title="scitools.Lumpy.DiagCanvas.propagate"><tt class="xref py py-obj docutils literal"><span class="pre">propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.quit" title="scitools.Lumpy.DiagCanvas.quit"><tt class="xref py py-obj docutils literal"><span class="pre">quit</span></tt></a>()</td>
<td>Quit the Tcl interpreter. All widgets will be destroyed.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.rectangle" title="scitools.Lumpy.DiagCanvas.rectangle"><tt class="xref py py-obj docutils literal"><span class="pre">rectangle</span></tt></a>(coords[,&nbsp;fill])</td>
<td>make an oval with bounding box (coords) and fill color (fill)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.register" title="scitools.Lumpy.DiagCanvas.register"><tt class="xref py py-obj docutils literal"><span class="pre">register</span></tt></a>(func[,&nbsp;subst,&nbsp;needcleanup])</td>
<td>Return a newly created Tcl function. If this</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.rowconfigure" title="scitools.Lumpy.DiagCanvas.rowconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">rowconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure row INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.scale" title="scitools.Lumpy.DiagCanvas.scale"><tt class="xref py py-obj docutils literal"><span class="pre">scale</span></tt></a>(*args)</td>
<td>Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.scan_dragto" title="scitools.Lumpy.DiagCanvas.scan_dragto"><tt class="xref py py-obj docutils literal"><span class="pre">scan_dragto</span></tt></a>(x,&nbsp;y[,&nbsp;gain])</td>
<td>Adjust the view of the canvas to GAIN times the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.scan_mark" title="scitools.Lumpy.DiagCanvas.scan_mark"><tt class="xref py py-obj docutils literal"><span class="pre">scan_mark</span></tt></a>(x,&nbsp;y)</td>
<td>Remember the current X, Y coordinates.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.select_adjust" title="scitools.Lumpy.DiagCanvas.select_adjust"><tt class="xref py py-obj docutils literal"><span class="pre">select_adjust</span></tt></a>(tagOrId,&nbsp;index)</td>
<td>Adjust the end of the selection near the cursor of an item TAGORID to index.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.select_clear" title="scitools.Lumpy.DiagCanvas.select_clear"><tt class="xref py py-obj docutils literal"><span class="pre">select_clear</span></tt></a>()</td>
<td>Clear the selection if it is in this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.select_from" title="scitools.Lumpy.DiagCanvas.select_from"><tt class="xref py py-obj docutils literal"><span class="pre">select_from</span></tt></a>(tagOrId,&nbsp;index)</td>
<td>Set the fixed end of a selection in item TAGORID to INDEX.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.select_item" title="scitools.Lumpy.DiagCanvas.select_item"><tt class="xref py py-obj docutils literal"><span class="pre">select_item</span></tt></a>()</td>
<td>Return the item which has the selection.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.select_to" title="scitools.Lumpy.DiagCanvas.select_to"><tt class="xref py py-obj docutils literal"><span class="pre">select_to</span></tt></a>(tagOrId,&nbsp;index)</td>
<td>Set the variable end of a selection in item TAGORID to INDEX.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.selection_clear" title="scitools.Lumpy.DiagCanvas.selection_clear"><tt class="xref py py-obj docutils literal"><span class="pre">selection_clear</span></tt></a>(**kw)</td>
<td>Clear the current X selection.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.selection_get" title="scitools.Lumpy.DiagCanvas.selection_get"><tt class="xref py py-obj docutils literal"><span class="pre">selection_get</span></tt></a>(**kw)</td>
<td>Return the contents of the current X selection.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.selection_handle" title="scitools.Lumpy.DiagCanvas.selection_handle"><tt class="xref py py-obj docutils literal"><span class="pre">selection_handle</span></tt></a>(command,&nbsp;**kw)</td>
<td>Specify a function COMMAND to call if the X</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.selection_own" title="scitools.Lumpy.DiagCanvas.selection_own"><tt class="xref py py-obj docutils literal"><span class="pre">selection_own</span></tt></a>(**kw)</td>
<td>Become owner of X selection.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.selection_own_get" title="scitools.Lumpy.DiagCanvas.selection_own_get"><tt class="xref py py-obj docutils literal"><span class="pre">selection_own_get</span></tt></a>(**kw)</td>
<td>Return owner of X selection.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.send" title="scitools.Lumpy.DiagCanvas.send"><tt class="xref py py-obj docutils literal"><span class="pre">send</span></tt></a>(interp,&nbsp;cmd,&nbsp;*args)</td>
<td>Send Tcl command CMD to different interpreter INTERP to be executed.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.setvar" title="scitools.Lumpy.DiagCanvas.setvar"><tt class="xref py py-obj docutils literal"><span class="pre">setvar</span></tt></a>([name,&nbsp;value])</td>
<td>Set Tcl variable NAME to VALUE.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.size" title="scitools.Lumpy.DiagCanvas.size"><tt class="xref py py-obj docutils literal"><span class="pre">size</span></tt></a>()</td>
<td>Return a tuple of the number of column and rows in the grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.slaves" title="scitools.Lumpy.DiagCanvas.slaves"><tt class="xref py py-obj docutils literal"><span class="pre">slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.str" title="scitools.Lumpy.DiagCanvas.str"><tt class="xref py py-obj docutils literal"><span class="pre">str</span></tt></a>(pos,&nbsp;text[,&nbsp;dx,&nbsp;dy])</td>
<td>draw the given text at the given position, with an offset</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tag_bind" title="scitools.Lumpy.DiagCanvas.tag_bind"><tt class="xref py py-obj docutils literal"><span class="pre">tag_bind</span></tt></a>(tagOrId[,&nbsp;sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tag_lower" title="scitools.Lumpy.DiagCanvas.tag_lower"><tt class="xref py py-obj docutils literal"><span class="pre">tag_lower</span></tt></a>(*args)</td>
<td>Lower an item TAGORID given in ARGS</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tag_raise" title="scitools.Lumpy.DiagCanvas.tag_raise"><tt class="xref py py-obj docutils literal"><span class="pre">tag_raise</span></tt></a>(*args)</td>
<td>Raise an item TAGORID given in ARGS</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tag_unbind" title="scitools.Lumpy.DiagCanvas.tag_unbind"><tt class="xref py py-obj docutils literal"><span class="pre">tag_unbind</span></tt></a>(tagOrId,&nbsp;sequence[,&nbsp;funcid])</td>
<td>Unbind for all items with TAGORID for event SEQUENCE  the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tcoords" title="scitools.Lumpy.DiagCanvas.tcoords"><tt class="xref py py-obj docutils literal"><span class="pre">tcoords</span></tt></a>(item[,&nbsp;coords])</td>
<td>provides get and set access to item coordinates,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.text" title="scitools.Lumpy.DiagCanvas.text"><tt class="xref py py-obj docutils literal"><span class="pre">text</span></tt></a>(coord[,&nbsp;text,&nbsp;fill])</td>
<td>make a text item with the given text and fill color.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_bisque" title="scitools.Lumpy.DiagCanvas.tk_bisque"><tt class="xref py py-obj docutils literal"><span class="pre">tk_bisque</span></tt></a>()</td>
<td>Change the color scheme to light brown as used in Tk 3.6 and before.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_focusFollowsMouse" title="scitools.Lumpy.DiagCanvas.tk_focusFollowsMouse"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusFollowsMouse</span></tt></a>()</td>
<td>The widget under mouse will get automatically focus.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_focusNext" title="scitools.Lumpy.DiagCanvas.tk_focusNext"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusNext</span></tt></a>()</td>
<td>Return the next widget in the focus order which follows widget which has currently the focus.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_focusPrev" title="scitools.Lumpy.DiagCanvas.tk_focusPrev"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusPrev</span></tt></a>()</td>
<td>Return previous widget in the focus order.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_menuBar" title="scitools.Lumpy.DiagCanvas.tk_menuBar"><tt class="xref py py-obj docutils literal"><span class="pre">tk_menuBar</span></tt></a>(*args)</td>
<td>Do not use.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_setPalette" title="scitools.Lumpy.DiagCanvas.tk_setPalette"><tt class="xref py py-obj docutils literal"><span class="pre">tk_setPalette</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Set a new color scheme for all widget elements.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tk_strictMotif" title="scitools.Lumpy.DiagCanvas.tk_strictMotif"><tt class="xref py py-obj docutils literal"><span class="pre">tk_strictMotif</span></tt></a>([boolean])</td>
<td>Set Tcl internal variable, whether the look and feel</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tkraise" title="scitools.Lumpy.DiagCanvas.tkraise"><tt class="xref py py-obj docutils literal"><span class="pre">tkraise</span></tt></a>(*args)</td>
<td>Raise an item TAGORID given in ARGS</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.tmove" title="scitools.Lumpy.DiagCanvas.tmove"><tt class="xref py py-obj docutils literal"><span class="pre">tmove</span></tt></a>(tags[,&nbsp;dx,&nbsp;dy])</td>
<td>move all items with the given tags, with dx and dy</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.trans" title="scitools.Lumpy.DiagCanvas.trans"><tt class="xref py py-obj docutils literal"><span class="pre">trans</span></tt></a>(coords)</td>
<td>apply each of the transforms for this canvas, in order.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.type" title="scitools.Lumpy.DiagCanvas.type"><tt class="xref py py-obj docutils literal"><span class="pre">type</span></tt></a>(tagOrId)</td>
<td>Return the type of the item TAGORID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.unbind" title="scitools.Lumpy.DiagCanvas.unbind"><tt class="xref py py-obj docutils literal"><span class="pre">unbind</span></tt></a>(sequence[,&nbsp;funcid])</td>
<td>Unbind for this widget for event SEQUENCE  the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.unbind_all" title="scitools.Lumpy.DiagCanvas.unbind_all"><tt class="xref py py-obj docutils literal"><span class="pre">unbind_all</span></tt></a>(sequence)</td>
<td>Unbind for all widgets for event SEQUENCE all functions.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.unbind_class" title="scitools.Lumpy.DiagCanvas.unbind_class"><tt class="xref py py-obj docutils literal"><span class="pre">unbind_class</span></tt></a>(className,&nbsp;sequence)</td>
<td>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.update" title="scitools.Lumpy.DiagCanvas.update"><tt class="xref py py-obj docutils literal"><span class="pre">update</span></tt></a>()</td>
<td>Enter event loop until all pending events have been processed by Tcl.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.update_idletasks" title="scitools.Lumpy.DiagCanvas.update_idletasks"><tt class="xref py py-obj docutils literal"><span class="pre">update_idletasks</span></tt></a>()</td>
<td>Enter event loop until all idle callbacks have been called.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.wait_variable" title="scitools.Lumpy.DiagCanvas.wait_variable"><tt class="xref py py-obj docutils literal"><span class="pre">wait_variable</span></tt></a>([name])</td>
<td>Wait until the variable is modified.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.wait_visibility" title="scitools.Lumpy.DiagCanvas.wait_visibility"><tt class="xref py py-obj docutils literal"><span class="pre">wait_visibility</span></tt></a>([window])</td>
<td>Wait until the visibility of a WIDGET changes</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.wait_window" title="scitools.Lumpy.DiagCanvas.wait_window"><tt class="xref py py-obj docutils literal"><span class="pre">wait_window</span></tt></a>([window])</td>
<td>Wait until a WIDGET is destroyed.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.waitvar" title="scitools.Lumpy.DiagCanvas.waitvar"><tt class="xref py py-obj docutils literal"><span class="pre">waitvar</span></tt></a>([name])</td>
<td>Wait until the variable is modified.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_atom" title="scitools.Lumpy.DiagCanvas.winfo_atom"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_atom</span></tt></a>(name[,&nbsp;displayof])</td>
<td>Return integer which represents atom NAME.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_atomname" title="scitools.Lumpy.DiagCanvas.winfo_atomname"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_atomname</span></tt></a>(id[,&nbsp;displayof])</td>
<td>Return name of atom with identifier ID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_cells" title="scitools.Lumpy.DiagCanvas.winfo_cells"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_cells</span></tt></a>()</td>
<td>Return number of cells in the colormap for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_children" title="scitools.Lumpy.DiagCanvas.winfo_children"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_children</span></tt></a>()</td>
<td>Return a list of all widgets which are children of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_class" title="scitools.Lumpy.DiagCanvas.winfo_class"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_class</span></tt></a>()</td>
<td>Return window class name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_colormapfull" title="scitools.Lumpy.DiagCanvas.winfo_colormapfull"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_colormapfull</span></tt></a>()</td>
<td>Return true if at the last color request the colormap was full.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_containing" title="scitools.Lumpy.DiagCanvas.winfo_containing"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_containing</span></tt></a>(rootX,&nbsp;rootY[,&nbsp;displayof])</td>
<td>Return the widget which is at the root coordinates ROOTX, ROOTY.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_depth" title="scitools.Lumpy.DiagCanvas.winfo_depth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_depth</span></tt></a>()</td>
<td>Return the number of bits per pixel.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_exists" title="scitools.Lumpy.DiagCanvas.winfo_exists"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_exists</span></tt></a>()</td>
<td>Return true if this widget exists.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_fpixels" title="scitools.Lumpy.DiagCanvas.winfo_fpixels"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_fpixels</span></tt></a>(number)</td>
<td>Return the number of pixels for the given distance NUMBER</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_geometry" title="scitools.Lumpy.DiagCanvas.winfo_geometry"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_geometry</span></tt></a>()</td>
<td>Return geometry string for this widget in the form &#8220;widthxheight+X+Y&#8221;.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_height" title="scitools.Lumpy.DiagCanvas.winfo_height"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_height</span></tt></a>()</td>
<td>Return height of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_id" title="scitools.Lumpy.DiagCanvas.winfo_id"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_id</span></tt></a>()</td>
<td>Return identifier ID for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_interps" title="scitools.Lumpy.DiagCanvas.winfo_interps"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_interps</span></tt></a>([displayof])</td>
<td>Return the name of all Tcl interpreters for this display.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_ismapped" title="scitools.Lumpy.DiagCanvas.winfo_ismapped"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_ismapped</span></tt></a>()</td>
<td>Return true if this widget is mapped.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_manager" title="scitools.Lumpy.DiagCanvas.winfo_manager"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_manager</span></tt></a>()</td>
<td>Return the window mananger name for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_name" title="scitools.Lumpy.DiagCanvas.winfo_name"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_name</span></tt></a>()</td>
<td>Return the name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_parent" title="scitools.Lumpy.DiagCanvas.winfo_parent"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_parent</span></tt></a>()</td>
<td>Return the name of the parent of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_pathname" title="scitools.Lumpy.DiagCanvas.winfo_pathname"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pathname</span></tt></a>(id[,&nbsp;displayof])</td>
<td>Return the pathname of the widget given by ID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_pixels" title="scitools.Lumpy.DiagCanvas.winfo_pixels"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pixels</span></tt></a>(number)</td>
<td>Rounded integer value of winfo_fpixels.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_pointerx" title="scitools.Lumpy.DiagCanvas.winfo_pointerx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointerx</span></tt></a>()</td>
<td>Return the x coordinate of the pointer on the root window.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_pointerxy" title="scitools.Lumpy.DiagCanvas.winfo_pointerxy"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointerxy</span></tt></a>()</td>
<td>Return a tuple of x and y coordinates of the pointer on the root window.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_pointery" title="scitools.Lumpy.DiagCanvas.winfo_pointery"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointery</span></tt></a>()</td>
<td>Return the y coordinate of the pointer on the root window.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_reqheight" title="scitools.Lumpy.DiagCanvas.winfo_reqheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_reqheight</span></tt></a>()</td>
<td>Return requested height of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_reqwidth" title="scitools.Lumpy.DiagCanvas.winfo_reqwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_reqwidth</span></tt></a>()</td>
<td>Return requested width of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_rgb" title="scitools.Lumpy.DiagCanvas.winfo_rgb"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rgb</span></tt></a>(color)</td>
<td>Return tuple of decimal values for red, green, blue for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_rootx" title="scitools.Lumpy.DiagCanvas.winfo_rootx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rootx</span></tt></a>()</td>
<td>Return x coordinate of upper left corner of this widget on the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_rooty" title="scitools.Lumpy.DiagCanvas.winfo_rooty"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rooty</span></tt></a>()</td>
<td>Return y coordinate of upper left corner of this widget on the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screen" title="scitools.Lumpy.DiagCanvas.winfo_screen"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screen</span></tt></a>()</td>
<td>Return the screen name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screencells" title="scitools.Lumpy.DiagCanvas.winfo_screencells"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screencells</span></tt></a>()</td>
<td>Return the number of the cells in the colormap of the screen</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screendepth" title="scitools.Lumpy.DiagCanvas.winfo_screendepth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screendepth</span></tt></a>()</td>
<td>Return the number of bits per pixel of the root window of the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screenheight" title="scitools.Lumpy.DiagCanvas.winfo_screenheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenheight</span></tt></a>()</td>
<td>Return the number of pixels of the height of the screen of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screenmmheight" title="scitools.Lumpy.DiagCanvas.winfo_screenmmheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenmmheight</span></tt></a>()</td>
<td>Return the number of pixels of the height of the screen of</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screenmmwidth" title="scitools.Lumpy.DiagCanvas.winfo_screenmmwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenmmwidth</span></tt></a>()</td>
<td>Return the number of pixels of the width of the screen of</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screenvisual" title="scitools.Lumpy.DiagCanvas.winfo_screenvisual"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenvisual</span></tt></a>()</td>
<td>Return one of the strings directcolor, grayscale, pseudocolor,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_screenwidth" title="scitools.Lumpy.DiagCanvas.winfo_screenwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenwidth</span></tt></a>()</td>
<td>Return the number of pixels of the width of the screen of</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_server" title="scitools.Lumpy.DiagCanvas.winfo_server"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_server</span></tt></a>()</td>
<td>Return information of the X-Server of the screen of this widget in</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_toplevel" title="scitools.Lumpy.DiagCanvas.winfo_toplevel"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_toplevel</span></tt></a>()</td>
<td>Return the toplevel widget of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_viewable" title="scitools.Lumpy.DiagCanvas.winfo_viewable"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_viewable</span></tt></a>()</td>
<td>Return true if the widget and all its higher ancestors are mapped.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_visual" title="scitools.Lumpy.DiagCanvas.winfo_visual"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visual</span></tt></a>()</td>
<td>Return one of the strings directcolor, grayscale, pseudocolor,</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_visualid" title="scitools.Lumpy.DiagCanvas.winfo_visualid"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visualid</span></tt></a>()</td>
<td>Return the X identifier for the visual for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_visualsavailable" title="scitools.Lumpy.DiagCanvas.winfo_visualsavailable"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visualsavailable</span></tt></a>([includeids])</td>
<td>Return a list of all visuals available for the screen of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_vrootheight" title="scitools.Lumpy.DiagCanvas.winfo_vrootheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootheight</span></tt></a>()</td>
<td>Return the height of the virtual root window associated with this widget in pixels.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_vrootwidth" title="scitools.Lumpy.DiagCanvas.winfo_vrootwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootwidth</span></tt></a>()</td>
<td>Return the width of the virtual root window associated with this widget in pixel.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_vrootx" title="scitools.Lumpy.DiagCanvas.winfo_vrootx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootx</span></tt></a>()</td>
<td>Return the x offset of the virtual root relative to the root</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_vrooty" title="scitools.Lumpy.DiagCanvas.winfo_vrooty"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrooty</span></tt></a>()</td>
<td>Return the y offset of the virtual root relative to the root</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_width" title="scitools.Lumpy.DiagCanvas.winfo_width"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_width</span></tt></a>()</td>
<td>Return the width of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_x" title="scitools.Lumpy.DiagCanvas.winfo_x"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_x</span></tt></a>()</td>
<td>Return the x coordinate of the upper left corner of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.winfo_y" title="scitools.Lumpy.DiagCanvas.winfo_y"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_y</span></tt></a>()</td>
<td>Return the y coordinate of the upper left corner of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.xview" title="scitools.Lumpy.DiagCanvas.xview"><tt class="xref py py-obj docutils literal"><span class="pre">xview</span></tt></a>(*args)</td>
<td>Query and change the horizontal position of the view.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.xview_moveto" title="scitools.Lumpy.DiagCanvas.xview_moveto"><tt class="xref py py-obj docutils literal"><span class="pre">xview_moveto</span></tt></a>(fraction)</td>
<td>Adjusts the view in the window so that FRACTION of the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.xview_scroll" title="scitools.Lumpy.DiagCanvas.xview_scroll"><tt class="xref py py-obj docutils literal"><span class="pre">xview_scroll</span></tt></a>(number,&nbsp;what)</td>
<td>Shift the x-view according to NUMBER which is measured in &#8220;units&#8221;</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.yview" title="scitools.Lumpy.DiagCanvas.yview"><tt class="xref py py-obj docutils literal"><span class="pre">yview</span></tt></a>(*args)</td>
<td>Query and change the vertical position of the view.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.yview_moveto" title="scitools.Lumpy.DiagCanvas.yview_moveto"><tt class="xref py py-obj docutils literal"><span class="pre">yview_moveto</span></tt></a>(fraction)</td>
<td>Adjusts the view in the window so that FRACTION of the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.DiagCanvas.yview_scroll" title="scitools.Lumpy.DiagCanvas.yview_scroll"><tt class="xref py py-obj docutils literal"><span class="pre">yview_scroll</span></tt></a>(number,&nbsp;what)</td>
<td>Shift the y-view according to NUMBER which is measured in</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.__contains__">
<tt class="descname">__contains__</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__contains__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.__getitem__">
<tt class="descname">__getitem__</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__getitem__" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the resource value for a KEY given as string.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.__init__">
<tt class="descname">__init__</tt><big>(</big><em>w</em>, <em>transforms=None</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.DiagCanvas.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.__setitem__">
<tt class="descname">__setitem__</tt><big>(</big><em>key</em>, <em>value</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__setitem__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.__str__">
<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.__str__" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the window path name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.add_transform">
<tt class="descname">add_transform</tt><big>(</big><em>transform</em>, <em>index=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.add_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>add the given transform at the given index in the
transform list (appending is the default).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag">
<tt class="descname">addtag</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_above">
<tt class="descname">addtag_above</tt><big>(</big><em>newtag</em>, <em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_above" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items above TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_all">
<tt class="descname">addtag_all</tt><big>(</big><em>newtag</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_below">
<tt class="descname">addtag_below</tt><big>(</big><em>newtag</em>, <em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_below" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items below TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_closest">
<tt class="descname">addtag_closest</tt><big>(</big><em>newtag</em>, <em>x</em>, <em>y</em>, <em>halo=None</em>, <em>start=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_closest" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to item which is closest to pixel at X, Y.
If several match take the top-most.
All items closer than HALO are considered overlapping (all are
closests). If START is specified the next below this tag is taken.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_enclosed">
<tt class="descname">addtag_enclosed</tt><big>(</big><em>newtag</em>, <em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_enclosed" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items in the rectangle defined
by X1,Y1,X2,Y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_overlapping">
<tt class="descname">addtag_overlapping</tt><big>(</big><em>newtag</em>, <em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_overlapping" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items which overlap the rectangle
defined by X1,Y1,X2,Y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.addtag_withtag">
<tt class="descname">addtag_withtag</tt><big>(</big><em>newtag</em>, <em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.addtag_withtag" title="Permalink to this definition">¶</a></dt>
<dd><p>Add tag NEWTAG to all items with TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.after">
<tt class="descname">after</tt><big>(</big><em>ms</em>, <em>func=None</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.after" title="Permalink to this definition">¶</a></dt>
<dd><p>Call function once after given time.</p>
<p>MS specifies the time in milliseconds. FUNC gives the
function which shall be called. Additional parameters
are given as parameters to the function call.  Return
identifier to cancel scheduling with after_cancel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.after_cancel">
<tt class="descname">after_cancel</tt><big>(</big><em>id</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.after_cancel" title="Permalink to this definition">¶</a></dt>
<dd><p>Cancel scheduling of function identified with ID.</p>
<p>Identifier returned by after or after_idle must be
given as first parameter.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.after_idle">
<tt class="descname">after_idle</tt><big>(</big><em>func</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.after_idle" title="Permalink to this definition">¶</a></dt>
<dd><p>Call FUNC once if the Tcl main loop has no event to
process.</p>
<p>Return an identifier to cancel the scheduling with
after_cancel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.arrow">
<tt class="descname">arrow</tt><big>(</big><em>start</em>, <em>end</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas.arrow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.arrow" title="Permalink to this definition">¶</a></dt>
<dd><p>draw an arrow: start and end can be a Pos object or
a list of two coordinates</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bbox">
<tt class="descname">bbox</tt><big>(</big><em>item</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>compute the bounding box of the given item
(transformed from pixel coordinates to transformed
coordinates).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bell">
<tt class="descname">bell</tt><big>(</big><em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bell" title="Permalink to this definition">¶</a></dt>
<dd><p>Ring a display&#8217;s bell.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bind">
<tt class="descname">bind</tt><big>(</big><em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to this widget at event SEQUENCE a call to function FUNC.</p>
<p>SEQUENCE is a string of concatenated event
patterns. An event pattern is of the form
&lt;MODIFIER-MODIFIER-TYPE-DETAIL&gt; where MODIFIER is one
of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4,
Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3,
B3, Alt, Button4, B4, Double, Button5, B5 Triple,
Mod1, M1. TYPE is one of Activate, Enter, Map,
ButtonPress, Button, Expose, Motion, ButtonRelease
FocusIn, MouseWheel, Circulate, FocusOut, Property,
Colormap, Gravity Reparent, Configure, KeyPress, Key,
Unmap, Deactivate, KeyRelease Visibility, Destroy,
Leave and DETAIL is the button number for ButtonPress,
ButtonRelease and DETAIL is the Keysym for KeyPress and
KeyRelease. Examples are
&lt;Control-Button-1&gt; for pressing Control and mouse button 1 or
&lt;Alt-A&gt; for pressing A and the Alt key (KeyPress can be omitted).
An event pattern can also be a virtual event of the form
&lt;&lt;AString&gt;&gt; where AString can be arbitrary. This
event can be generated by event_generate.
If events are concatenated they must appear shortly
after each other.</p>
<p>FUNC will be called if the event sequence occurs with an
instance of Event as argument. If the return value of FUNC is
&#8220;break&#8221; no further bound function is invoked.</p>
<p>An additional boolean parameter ADD specifies whether FUNC will
be called additionally to the other bound function or whether
it will replace the previous function.</p>
<p>Bind will return an identifier to allow deletion of the bound function with
unbind without memory leak.</p>
<p>If FUNC or SEQUENCE is omitted the bound function or list
of bound events are returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bind_all">
<tt class="descname">bind_all</tt><big>(</big><em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bind_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to all widgets at an event SEQUENCE a call to function FUNC.
An additional boolean parameter ADD specifies whether FUNC will
be called additionally to the other bound function or whether
it will replace the previous function. See bind for the return value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bind_class">
<tt class="descname">bind_class</tt><big>(</big><em>className</em>, <em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bind_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to widgets with bindtag CLASSNAME at event
SEQUENCE a call of function FUNC. An additional
boolean parameter ADD specifies whether FUNC will be
called additionally to the other bound function or
whether it will replace the previous function. See bind for
the return value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.bindtags">
<tt class="descname">bindtags</tt><big>(</big><em>tagList=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.bindtags" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the list of bindtags for this widget.</p>
<p>With no argument return the list of all bindtags associated with
this widget. With a list of strings as argument the bindtags are
set to this list. The bindtags determine in which order events are
processed (see bind).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.box">
<tt class="descname">box</tt><big>(</big><em>box</em>, <em>padx=0.5</em>, <em>pady=0.3</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas.box"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.box" title="Permalink to this definition">¶</a></dt>
<dd><p>draw a rectangle with the given bounding box, expanded
by padx and pady.  box can be a Bbox object or a list of
two coordinate pairs.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.canvasx">
<tt class="descname">canvasx</tt><big>(</big><em>screenx</em>, <em>gridspacing=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.canvasx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the canvas x coordinate of pixel position SCREENX rounded
to nearest multiple of GRIDSPACING units.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.canvasy">
<tt class="descname">canvasy</tt><big>(</big><em>screeny</em>, <em>gridspacing=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.canvasy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the canvas y coordinate of pixel position SCREENY rounded
to nearest multiple of GRIDSPACING units.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.cget">
<tt class="descname">cget</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.cget" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the resource value for a KEY given as string.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.circle">
<tt class="descname">circle</tt><big>(</big><em>x</em>, <em>y</em>, <em>r</em>, <em>fill=''</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.circle" title="Permalink to this definition">¶</a></dt>
<dd><p>make a circle with center at (x, y) and radius (r)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.clipboard_append">
<tt class="descname">clipboard_append</tt><big>(</big><em>string</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.clipboard_append" title="Permalink to this definition">¶</a></dt>
<dd><p>Append STRING to the Tk clipboard.</p>
<p>A widget specified at the optional displayof keyword
argument specifies the target display. The clipboard
can be retrieved with selection_get.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.clipboard_clear">
<tt class="descname">clipboard_clear</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.clipboard_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the data in the Tk clipboard.</p>
<p>A widget specified for the optional displayof keyword
argument specifies the target display.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.clipboard_get">
<tt class="descname">clipboard_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.clipboard_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve data from the clipboard on window&#8217;s display.</p>
<p>The window keyword defaults to the root window of the Tkinter
application.</p>
<p>The type keyword specifies the form in which the data is
to be returned and should be an atom name such as STRING
or FILE_NAME.  Type defaults to STRING.</p>
<p>This command is equivalent to:</p>
<p>selection_get(CLIPBOARD)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.colormodel">
<tt class="descname">colormodel</tt><big>(</big><em>value=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.colormodel" title="Permalink to this definition">¶</a></dt>
<dd><p>Useless. Not implemented in Tk.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.columnconfigure">
<tt class="descname">columnconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.columnconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure column INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the column),
weight (how much does additional space propagate to this column)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.config">
<tt class="descname">config</tt><big>(</big><em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.config" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of a widget.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method keys.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.configure">
<tt class="descname">configure</tt><big>(</big><em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.configure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of a widget.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method keys.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.coords">
<tt class="descname">coords</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.coords" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of coordinates for the item given in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_arc">
<tt class="descname">create_arc</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_arc" title="Permalink to this definition">¶</a></dt>
<dd><p>Create arc shaped region with coordinates x1,y1,x2,y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_bitmap">
<tt class="descname">create_bitmap</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_bitmap" title="Permalink to this definition">¶</a></dt>
<dd><p>Create bitmap with coordinates x1,y1.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_image">
<tt class="descname">create_image</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_image" title="Permalink to this definition">¶</a></dt>
<dd><p>Create image item with coordinates x1,y1.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_line">
<tt class="descname">create_line</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_line" title="Permalink to this definition">¶</a></dt>
<dd><p>Create line with coordinates x1,y1,...,xn,yn.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_oval">
<tt class="descname">create_oval</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_oval" title="Permalink to this definition">¶</a></dt>
<dd><p>Create oval with coordinates x1,y1,x2,y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_polygon">
<tt class="descname">create_polygon</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_polygon" title="Permalink to this definition">¶</a></dt>
<dd><p>Create polygon with coordinates x1,y1,...,xn,yn.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_rectangle">
<tt class="descname">create_rectangle</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_rectangle" title="Permalink to this definition">¶</a></dt>
<dd><p>Create rectangle with coordinates x1,y1,x2,y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_text">
<tt class="descname">create_text</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_text" title="Permalink to this definition">¶</a></dt>
<dd><p>Create text with coordinates x1,y1.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.create_window">
<tt class="descname">create_window</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.create_window" title="Permalink to this definition">¶</a></dt>
<dd><p>Create window with coordinates x1,y1,x2,y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.dchars">
<tt class="descname">dchars</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.dchars" title="Permalink to this definition">¶</a></dt>
<dd><p>Delete characters of text items identified by tag or id in ARGS (possibly
several times) from FIRST to LAST character (including).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.delete">
<tt class="descname">delete</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.delete" title="Permalink to this definition">¶</a></dt>
<dd><p>Delete items identified by all tag or ids contained in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.deletecommand">
<tt class="descname">deletecommand</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.deletecommand" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function.</p>
<p>Delete the Tcl command provided in NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.destroy">
<tt class="descname">destroy</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.destroy" title="Permalink to this definition">¶</a></dt>
<dd><p>Destroy this and all descendants widgets.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.dot">
<tt class="descname">dot</tt><big>(</big><em>pos</em>, <em>r=0.2</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas.dot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.dot" title="Permalink to this definition">¶</a></dt>
<dd><p>draw a dot at the given position with radius r</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.dtag">
<tt class="descname">dtag</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.dtag" title="Permalink to this definition">¶</a></dt>
<dd><p>Delete tag or id given as last arguments in ARGS from items
identified by first argument in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.dump">
<tt class="descname">dump</tt><big>(</big><em>filename='canvas.eps'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.dump" title="Permalink to this definition">¶</a></dt>
<dd><p>create a PostScipt file with the given name and dump
the contents of the canvas into it.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.event_add">
<tt class="descname">event_add</tt><big>(</big><em>virtual</em>, <em>*sequences</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.event_add" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind a virtual event VIRTUAL (of the form &lt;&lt;Name&gt;&gt;)
to an event SEQUENCE such that the virtual event is triggered
whenever SEQUENCE occurs.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.event_delete">
<tt class="descname">event_delete</tt><big>(</big><em>virtual</em>, <em>*sequences</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.event_delete" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind a virtual event VIRTUAL from SEQUENCE.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.event_generate">
<tt class="descname">event_generate</tt><big>(</big><em>sequence</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.event_generate" title="Permalink to this definition">¶</a></dt>
<dd><p>Generate an event SEQUENCE. Additional
keyword arguments specify parameter of the event
(e.g. x, y, rootx, rooty).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.event_info">
<tt class="descname">event_info</tt><big>(</big><em>virtual=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.event_info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all virtual events or the information
about the SEQUENCE bound to the virtual event VIRTUAL.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find">
<tt class="descname">find</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_above">
<tt class="descname">find_above</tt><big>(</big><em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_above" title="Permalink to this definition">¶</a></dt>
<dd><p>Return items above TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_all">
<tt class="descname">find_all</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Return all items.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_below">
<tt class="descname">find_below</tt><big>(</big><em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_below" title="Permalink to this definition">¶</a></dt>
<dd><p>Return all items below TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_closest">
<tt class="descname">find_closest</tt><big>(</big><em>x</em>, <em>y</em>, <em>halo=None</em>, <em>start=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_closest" title="Permalink to this definition">¶</a></dt>
<dd><p>Return item which is closest to pixel at X, Y.
If several match take the top-most.
All items closer than HALO are considered overlapping (all are
closests). If START is specified the next below this tag is taken.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_enclosed">
<tt class="descname">find_enclosed</tt><big>(</big><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_enclosed" title="Permalink to this definition">¶</a></dt>
<dd><p>Return all items in rectangle defined
by X1,Y1,X2,Y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_overlapping">
<tt class="descname">find_overlapping</tt><big>(</big><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_overlapping" title="Permalink to this definition">¶</a></dt>
<dd><p>Return all items which overlap the rectangle
defined by X1,Y1,X2,Y2.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.find_withtag">
<tt class="descname">find_withtag</tt><big>(</big><em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.find_withtag" title="Permalink to this definition">¶</a></dt>
<dd><p>Return all items with TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.flipx">
<tt class="descname">flipx</tt><big>(</big><em>item</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.flipx" title="Permalink to this definition">¶</a></dt>
<dd><p>warning: this works in pixel coordinates</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus">
<tt class="descname">focus</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus" title="Permalink to this definition">¶</a></dt>
<dd><p>Set focus to the first item specified in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus_displayof">
<tt class="descname">focus_displayof</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus_displayof" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which has currently the focus on the
display where this widget is located.</p>
<p>Return None if the application does not have the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus_force">
<tt class="descname">focus_force</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus_force" title="Permalink to this definition">¶</a></dt>
<dd><p>Direct input focus to this widget even if the
application does not have the focus. Use with
caution!</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus_get">
<tt class="descname">focus_get</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which has currently the focus in the
application.</p>
<p>Use focus_displayof to allow working with several
displays. Return None if application does not have
the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus_lastfor">
<tt class="descname">focus_lastfor</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus_lastfor" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which would have the focus if top level
for this widget gets the focus from the window manager.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.focus_set">
<tt class="descname">focus_set</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.focus_set" title="Permalink to this definition">¶</a></dt>
<dd><p>Direct input focus to this widget.</p>
<p>If the application currently does not have the focus
this widget will get the focus if the application gets
the focus through the window manager.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.forget">
<tt class="descname">forget</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.forget" title="Permalink to this definition">¶</a></dt>
<dd><p>Unmap this widget and do not use it for the packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.getboolean">
<tt class="descname">getboolean</tt><big>(</big><em>s</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.getboolean" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a boolean value for Tcl boolean values true and false given as parameter.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.DiagCanvas.getdouble">
<tt class="descname">getdouble</tt><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.getdouble" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">float</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.DiagCanvas.getint">
<tt class="descname">getint</tt><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.getint" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">int</span></tt></p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.gettags">
<tt class="descname">gettags</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.gettags" title="Permalink to this definition">¶</a></dt>
<dd><p>Return tags associated with the first item specified in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.getvar">
<tt class="descname">getvar</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.getvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value of Tcl variable NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grab_current">
<tt class="descname">grab_current</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grab_current" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget which has currently the grab in this application
or None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grab_release">
<tt class="descname">grab_release</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grab_release" title="Permalink to this definition">¶</a></dt>
<dd><p>Release grab for this widget if currently set.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grab_set">
<tt class="descname">grab_set</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grab_set" title="Permalink to this definition">¶</a></dt>
<dd><p>Set grab for this widget.</p>
<p>A grab directs all events to this and descendant
widgets in the application.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grab_set_global">
<tt class="descname">grab_set_global</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grab_set_global" title="Permalink to this definition">¶</a></dt>
<dd><p>Set global grab for this widget.</p>
<p>A global grab directs all events to this and
descendant widgets on the display. Use with caution -
other applications do not get events anymore.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grab_status">
<tt class="descname">grab_status</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grab_status" title="Permalink to this definition">¶</a></dt>
<dd><p>Return None, &#8220;local&#8221; or &#8220;global&#8221; if this widget has
no, a local or a global grab.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid">
<tt class="descname">grid</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid" title="Permalink to this definition">¶</a></dt>
<dd><p>Position a widget in the parent widget in a grid. Use as options:
column=number - use cell identified with given column (starting with 0)
columnspan=number - this widget will span several columns
in=master - use master to contain this widget
in_=master - see &#8216;in&#8217; option description
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
row=number - use cell identified with given row (starting with 0)
rowspan=number - this widget will span several rows
sticky=NSEW - if cell is larger on which sides will this</p>
<blockquote>
<div>widget stick to the cell boundary</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_bbox">
<tt class="descname">grid_bbox</tt><big>(</big><em>column=None</em>, <em>row=None</em>, <em>col2=None</em>, <em>row2=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of integer coordinates for the bounding
box of this widget controlled by the geometry manager grid.</p>
<p>If COLUMN, ROW is given the bounding box applies from
the cell with row and column 0 to the specified
cell. If COL2 and ROW2 are given the bounding box
starts at that cell.</p>
<p>The returned integers specify the offset of the upper left
corner in the master widget and the width and height.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_columnconfigure">
<tt class="descname">grid_columnconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_columnconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure column INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the column),
weight (how much does additional space propagate to this column)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_configure">
<tt class="descname">grid_configure</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_configure" title="Permalink to this definition">¶</a></dt>
<dd><p>Position a widget in the parent widget in a grid. Use as options:
column=number - use cell identified with given column (starting with 0)
columnspan=number - this widget will span several columns
in=master - use master to contain this widget
in_=master - see &#8216;in&#8217; option description
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
row=number - use cell identified with given row (starting with 0)
rowspan=number - this widget will span several rows
sticky=NSEW - if cell is larger on which sides will this</p>
<blockquote>
<div>widget stick to the cell boundary</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_forget">
<tt class="descname">grid_forget</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_forget" title="Permalink to this definition">¶</a></dt>
<dd><p>Unmap this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_info">
<tt class="descname">grid_info</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about the options
for positioning this widget in a grid.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_location">
<tt class="descname">grid_location</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_location" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of column and row which identify the cell
at which the pixel at position X and Y inside the master
widget is located.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_propagate">
<tt class="descname">grid_propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given, the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_remove">
<tt class="descname">grid_remove</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_remove" title="Permalink to this definition">¶</a></dt>
<dd><p>Unmap this widget but remember the grid options.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_rowconfigure">
<tt class="descname">grid_rowconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_rowconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure row INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the row),
weight (how much does additional space propagate to this row)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_size">
<tt class="descname">grid_size</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of the number of column and rows in the grid.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.grid_slaves">
<tt class="descname">grid_slaves</tt><big>(</big><em>row=None</em>, <em>column=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.grid_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.DiagCanvas.height">
<tt class="descname">height</tt><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.height" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.icursor">
<tt class="descname">icursor</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.icursor" title="Permalink to this definition">¶</a></dt>
<dd><p>Set cursor at position POS in the item identified by TAGORID.
In ARGS TAGORID must be first.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.image">
<tt class="descname">image</tt><big>(</big><em>coord</em>, <em>image</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.image" title="Permalink to this definition">¶</a></dt>
<dd><p>make an image item with the given image at the given position.
The default anchor is center.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.image_names">
<tt class="descname">image_names</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.image_names" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all existing image names.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.image_types">
<tt class="descname">image_types</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.image_types" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all available image types (e.g. phote bitmap).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.index">
<tt class="descname">index</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.index" title="Permalink to this definition">¶</a></dt>
<dd><p>Return position of cursor as integer in item specified in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.info">
<tt class="descname">info</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about the packing options
for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.insert">
<tt class="descname">insert</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.insert" title="Permalink to this definition">¶</a></dt>
<dd><p>Insert TEXT in item TAGORID at position POS. ARGS must
be TAGORID POS TEXT.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.invert">
<tt class="descname">invert</tt><big>(</big><em>coords</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.invert" title="Permalink to this definition">¶</a></dt>
<dd><p>apply the inverse of each of the transforms, in reverse
order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.itemcget">
<tt class="descname">itemcget</tt><big>(</big><em>tagOrId</em>, <em>option</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.itemcget" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the resource value for an OPTION for item TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.itemconfig">
<tt class="descname">itemconfig</tt><big>(</big><em>tagOrId</em>, <em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.itemconfig" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of an item TAGORID.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method without arguments.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.itemconfigure">
<tt class="descname">itemconfigure</tt><big>(</big><em>tagOrId</em>, <em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.itemconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of an item TAGORID.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method without arguments.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.keys">
<tt class="descname">keys</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.keys" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all resource names of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.lift">
<tt class="descname">lift</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.lift" title="Permalink to this definition">¶</a></dt>
<dd><p>Raise an item TAGORID given in ARGS
(optional above another item).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.line">
<tt class="descname">line</tt><big>(</big><em>coords</em>, <em>fill='black'</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.line" title="Permalink to this definition">¶</a></dt>
<dd><p>make a polyline with vertices at each point in (coords)
and pen color (fill).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.location">
<tt class="descname">location</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.location" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of column and row which identify the cell
at which the pixel at position X and Y inside the master
widget is located.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.lower">
<tt class="descname">lower</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.lower" title="Permalink to this definition">¶</a></dt>
<dd><p>Lower an item TAGORID given in ARGS
(optional below another item).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.mainloop">
<tt class="descname">mainloop</tt><big>(</big><em>n=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.mainloop" title="Permalink to this definition">¶</a></dt>
<dd><p>Call the mainloop of Tk.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.measure">
<tt class="descname">measure</tt><big>(</big><em>t</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas.measure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.measure" title="Permalink to this definition">¶</a></dt>
<dd><p>find the bounding box of the list of words by
drawing them, measuring them, and then deleting them</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.move">
<tt class="descname">move</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.move" title="Permalink to this definition">¶</a></dt>
<dd><p>Move an item TAGORID given in ARGS.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.nametowidget">
<tt class="descname">nametowidget</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.nametowidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the Tkinter instance of a widget identified by
its Tcl name NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.option_add">
<tt class="descname">option_add</tt><big>(</big><em>pattern</em>, <em>value</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.option_add" title="Permalink to this definition">¶</a></dt>
<dd><p>Set a VALUE (second parameter) for an option
PATTERN (first parameter).</p>
<p>An optional third parameter gives the numeric priority
(defaults to 80).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.option_clear">
<tt class="descname">option_clear</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.option_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the option database.</p>
<p>It will be reloaded if option_add is called.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.option_get">
<tt class="descname">option_get</tt><big>(</big><em>name</em>, <em>className</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.option_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the value for an option NAME for this widget
with CLASSNAME.</p>
<p>Values with higher priority override lower values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.option_readfile">
<tt class="descname">option_readfile</tt><big>(</big><em>fileName</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.option_readfile" title="Permalink to this definition">¶</a></dt>
<dd><p>Read file FILENAME into the option database.</p>
<p>An optional second parameter gives the numeric
priority.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.oval">
<tt class="descname">oval</tt><big>(</big><em>coords</em>, <em>fill=''</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.oval" title="Permalink to this definition">¶</a></dt>
<dd><p>make an oval with bounding box (coords) and fill color (fill)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack">
<tt class="descname">pack</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack" title="Permalink to this definition">¶</a></dt>
<dd><p>Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to</p>
<blockquote>
<div>given direction</div></blockquote>
<p>before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
in_=master - see &#8216;in&#8217; option description
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack_configure">
<tt class="descname">pack_configure</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack_configure" title="Permalink to this definition">¶</a></dt>
<dd><p>Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to</p>
<blockquote>
<div>given direction</div></blockquote>
<p>before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
in_=master - see &#8216;in&#8217; option description
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack_forget">
<tt class="descname">pack_forget</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack_forget" title="Permalink to this definition">¶</a></dt>
<dd><p>Unmap this widget and do not use it for the packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack_info">
<tt class="descname">pack_info</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack_info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about the packing options
for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack_propagate">
<tt class="descname">pack_propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack_propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.pack_slaves">
<tt class="descname">pack_slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.pack_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.place">
<tt class="descname">place</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.place" title="Permalink to this definition">¶</a></dt>
<dd><p>Place a widget in the parent widget. Use as options:
in=master - master relative to which the widget is placed
in_=master - see &#8216;in&#8217; option description
x=amount - locate anchor of this widget at position x of master
y=amount - locate anchor of this widget at position y of master
relx=amount - locate anchor of this widget between 0.0 and 1.0</p>
<blockquote>
<div>relative to width of master (1.0 is right edge)</div></blockquote>
<dl class="docutils">
<dt>rely=amount - locate anchor of this widget between 0.0 and 1.0</dt>
<dd>relative to height of master (1.0 is bottom edge)</dd>
</dl>
<p>anchor=NSEW (or subset) - position anchor according to given direction
width=amount - width of this widget in pixel
height=amount - height of this widget in pixel
relwidth=amount - width of this widget between 0.0 and 1.0</p>
<blockquote>
<div>relative to width of master (1.0 is the same width
as the master)</div></blockquote>
<dl class="docutils">
<dt>relheight=amount - height of this widget between 0.0 and 1.0</dt>
<dd>relative to height of master (1.0 is the same
height as the master)</dd>
<dt>bordermode=&#8221;inside&#8221; or &#8220;outside&#8221; - whether to take border width of</dt>
<dd>master widget into account</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.place_configure">
<tt class="descname">place_configure</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.place_configure" title="Permalink to this definition">¶</a></dt>
<dd><p>Place a widget in the parent widget. Use as options:
in=master - master relative to which the widget is placed
in_=master - see &#8216;in&#8217; option description
x=amount - locate anchor of this widget at position x of master
y=amount - locate anchor of this widget at position y of master
relx=amount - locate anchor of this widget between 0.0 and 1.0</p>
<blockquote>
<div>relative to width of master (1.0 is right edge)</div></blockquote>
<dl class="docutils">
<dt>rely=amount - locate anchor of this widget between 0.0 and 1.0</dt>
<dd>relative to height of master (1.0 is bottom edge)</dd>
</dl>
<p>anchor=NSEW (or subset) - position anchor according to given direction
width=amount - width of this widget in pixel
height=amount - height of this widget in pixel
relwidth=amount - width of this widget between 0.0 and 1.0</p>
<blockquote>
<div>relative to width of master (1.0 is the same width
as the master)</div></blockquote>
<dl class="docutils">
<dt>relheight=amount - height of this widget between 0.0 and 1.0</dt>
<dd>relative to height of master (1.0 is the same
height as the master)</dd>
<dt>bordermode=&#8221;inside&#8221; or &#8220;outside&#8221; - whether to take border width of</dt>
<dd>master widget into account</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.place_forget">
<tt class="descname">place_forget</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.place_forget" title="Permalink to this definition">¶</a></dt>
<dd><p>Unmap this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.place_info">
<tt class="descname">place_info</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.place_info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about the placing options
for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.place_slaves">
<tt class="descname">place_slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.place_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.polygon">
<tt class="descname">polygon</tt><big>(</big><em>coords</em>, <em>fill=''</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.polygon" title="Permalink to this definition">¶</a></dt>
<dd><p>make a close polygon with vertices at each point in (coords)
and fill color (fill).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.postscript">
<tt class="descname">postscript</tt><big>(</big><em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.postscript" title="Permalink to this definition">¶</a></dt>
<dd><p>Print the contents of the canvas to a postscript
file. Valid options: colormap, colormode, file, fontmap,
height, pageanchor, pageheight, pagewidth, pagex, pagey,
rotate, witdh, x, y.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.propagate">
<tt class="descname">propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.quit">
<tt class="descname">quit</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.quit" title="Permalink to this definition">¶</a></dt>
<dd><p>Quit the Tcl interpreter. All widgets will be destroyed.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.rectangle">
<tt class="descname">rectangle</tt><big>(</big><em>coords</em>, <em>fill=''</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.rectangle" title="Permalink to this definition">¶</a></dt>
<dd><p>make an oval with bounding box (coords) and fill color (fill)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.register">
<tt class="descname">register</tt><big>(</big><em>func</em>, <em>subst=None</em>, <em>needcleanup=1</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.register" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a newly created Tcl function. If this
function is called, the Python function FUNC will
be executed. An optional function SUBST can
be given which will be executed before FUNC.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.rowconfigure">
<tt class="descname">rowconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.rowconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure row INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the row),
weight (how much does additional space propagate to this row)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.scale">
<tt class="descname">scale</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Scale item TAGORID with XORIGIN, YORIGIN, XSCALE, YSCALE.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.scan_dragto">
<tt class="descname">scan_dragto</tt><big>(</big><em>x</em>, <em>y</em>, <em>gain=10</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.scan_dragto" title="Permalink to this definition">¶</a></dt>
<dd><p>Adjust the view of the canvas to GAIN times the
difference between X and Y and the coordinates given in
scan_mark.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.scan_mark">
<tt class="descname">scan_mark</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.scan_mark" title="Permalink to this definition">¶</a></dt>
<dd><p>Remember the current X, Y coordinates.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.select_adjust">
<tt class="descname">select_adjust</tt><big>(</big><em>tagOrId</em>, <em>index</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.select_adjust" title="Permalink to this definition">¶</a></dt>
<dd><p>Adjust the end of the selection near the cursor of an item TAGORID to index.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.select_clear">
<tt class="descname">select_clear</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.select_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the selection if it is in this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.select_from">
<tt class="descname">select_from</tt><big>(</big><em>tagOrId</em>, <em>index</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.select_from" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the fixed end of a selection in item TAGORID to INDEX.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.select_item">
<tt class="descname">select_item</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.select_item" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the item which has the selection.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.select_to">
<tt class="descname">select_to</tt><big>(</big><em>tagOrId</em>, <em>index</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.select_to" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the variable end of a selection in item TAGORID to INDEX.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.selection_clear">
<tt class="descname">selection_clear</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.selection_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the current X selection.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.selection_get">
<tt class="descname">selection_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.selection_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the contents of the current X selection.</p>
<p>A keyword parameter selection specifies the name of
the selection and defaults to PRIMARY.  A keyword
parameter displayof specifies a widget on the display
to use.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.selection_handle">
<tt class="descname">selection_handle</tt><big>(</big><em>command</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.selection_handle" title="Permalink to this definition">¶</a></dt>
<dd><p>Specify a function COMMAND to call if the X
selection owned by this widget is queried by another
application.</p>
<p>This function must return the contents of the
selection. The function will be called with the
arguments OFFSET and LENGTH which allows the chunking
of very long selections. The following keyword
parameters can be provided:
selection - name of the selection (default PRIMARY),
type - type of the selection (e.g. STRING, FILE_NAME).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.selection_own">
<tt class="descname">selection_own</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.selection_own" title="Permalink to this definition">¶</a></dt>
<dd><p>Become owner of X selection.</p>
<p>A keyword parameter selection specifies the name of
the selection (default PRIMARY).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.selection_own_get">
<tt class="descname">selection_own_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.selection_own_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return owner of X selection.</p>
<p>The following keyword parameter can
be provided:
selection - name of the selection (default PRIMARY),
type - type of the selection (e.g. STRING, FILE_NAME).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.send">
<tt class="descname">send</tt><big>(</big><em>interp</em>, <em>cmd</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.send" title="Permalink to this definition">¶</a></dt>
<dd><p>Send Tcl command CMD to different interpreter INTERP to be executed.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.setvar">
<tt class="descname">setvar</tt><big>(</big><em>name='PY_VAR'</em>, <em>value='1'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.setvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Tcl variable NAME to VALUE.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.size">
<tt class="descname">size</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.size" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of the number of column and rows in the grid.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.slaves">
<tt class="descname">slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.str">
<tt class="descname">str</tt><big>(</big><em>pos</em>, <em>text</em>, <em>dx=0</em>, <em>dy=0</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#DiagCanvas.str"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.str" title="Permalink to this definition">¶</a></dt>
<dd><p>draw the given text at the given position, with an offset
specified by dx and dy</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tag_bind">
<tt class="descname">tag_bind</tt><big>(</big><em>tagOrId</em>, <em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tag_bind" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to all items with TAGORID at event SEQUENCE a call to function FUNC.</p>
<p>An additional boolean parameter ADD specifies whether FUNC will be
called additionally to the other bound function or whether it will
replace the previous function. See bind for the return value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tag_lower">
<tt class="descname">tag_lower</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tag_lower" title="Permalink to this definition">¶</a></dt>
<dd><p>Lower an item TAGORID given in ARGS
(optional below another item).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tag_raise">
<tt class="descname">tag_raise</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tag_raise" title="Permalink to this definition">¶</a></dt>
<dd><p>Raise an item TAGORID given in ARGS
(optional above another item).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tag_unbind">
<tt class="descname">tag_unbind</tt><big>(</big><em>tagOrId</em>, <em>sequence</em>, <em>funcid=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tag_unbind" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for all items with TAGORID for event SEQUENCE  the
function identified with FUNCID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tcoords">
<tt class="descname">tcoords</tt><big>(</big><em>item</em>, <em>coords=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tcoords" title="Permalink to this definition">¶</a></dt>
<dd><p>provides get and set access to item coordinates,
with coordinate translation in both directions.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.text">
<tt class="descname">text</tt><big>(</big><em>coord</em>, <em>text=''</em>, <em>fill='black'</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.text" title="Permalink to this definition">¶</a></dt>
<dd><p>make a text item with the given text and fill color.
The default anchor is center.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_bisque">
<tt class="descname">tk_bisque</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_bisque" title="Permalink to this definition">¶</a></dt>
<dd><p>Change the color scheme to light brown as used in Tk 3.6 and before.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_focusFollowsMouse">
<tt class="descname">tk_focusFollowsMouse</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_focusFollowsMouse" title="Permalink to this definition">¶</a></dt>
<dd><p>The widget under mouse will get automatically focus. Can not
be disabled easily.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_focusNext">
<tt class="descname">tk_focusNext</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_focusNext" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the next widget in the focus order which follows
widget which has currently the focus.</p>
<p>The focus order first goes to the next child, then to
the children of the child recursively and then to the
next sibling which is higher in the stacking order.  A
widget is omitted if it has the takefocus resource set
to 0.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_focusPrev">
<tt class="descname">tk_focusPrev</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_focusPrev" title="Permalink to this definition">¶</a></dt>
<dd><p>Return previous widget in the focus order. See tk_focusNext for details.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_menuBar">
<tt class="descname">tk_menuBar</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_menuBar" title="Permalink to this definition">¶</a></dt>
<dd><p>Do not use. Needed in Tk 3.6 and earlier.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_setPalette">
<tt class="descname">tk_setPalette</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_setPalette" title="Permalink to this definition">¶</a></dt>
<dd><p>Set a new color scheme for all widget elements.</p>
<p>A single color as argument will cause that all colors of Tk
widget elements are derived from this.
Alternatively several keyword parameters and its associated
colors can be given. The following keywords are valid:
activeBackground, foreground, selectColor,
activeForeground, highlightBackground, selectBackground,
background, highlightColor, selectForeground,
disabledForeground, insertBackground, troughColor.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tk_strictMotif">
<tt class="descname">tk_strictMotif</tt><big>(</big><em>boolean=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tk_strictMotif" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Tcl internal variable, whether the look and feel
should adhere to Motif.</p>
<p>A parameter of 1 means adhere to Motif (e.g. no color
change if mouse passes over slider).
Returns the set value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tkraise">
<tt class="descname">tkraise</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tkraise" title="Permalink to this definition">¶</a></dt>
<dd><p>Raise an item TAGORID given in ARGS
(optional above another item).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.tmove">
<tt class="descname">tmove</tt><big>(</big><em>tags</em>, <em>dx=0</em>, <em>dy=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.tmove" title="Permalink to this definition">¶</a></dt>
<dd><p>move all items with the given tags, with dx and dy
in untransformed coordinates</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.trans">
<tt class="descname">trans</tt><big>(</big><em>coords</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.trans" title="Permalink to this definition">¶</a></dt>
<dd><p>apply each of the transforms for this canvas, in order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.type">
<tt class="descname">type</tt><big>(</big><em>tagOrId</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.type" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the type of the item TAGORID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.unbind">
<tt class="descname">unbind</tt><big>(</big><em>sequence</em>, <em>funcid=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.unbind" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for this widget for event SEQUENCE  the
function identified with FUNCID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.unbind_all">
<tt class="descname">unbind_all</tt><big>(</big><em>sequence</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.unbind_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for all widgets for event SEQUENCE all functions.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.unbind_class">
<tt class="descname">unbind_class</tt><big>(</big><em>className</em>, <em>sequence</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.unbind_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE
all functions.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.update">
<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.update" title="Permalink to this definition">¶</a></dt>
<dd><p>Enter event loop until all pending events have been processed by Tcl.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.update_idletasks">
<tt class="descname">update_idletasks</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.update_idletasks" title="Permalink to this definition">¶</a></dt>
<dd><p>Enter event loop until all idle callbacks have been called. This
will update the display of windows but not process events caused by
the user.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.wait_variable">
<tt class="descname">wait_variable</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.wait_variable" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the variable is modified.</p>
<p>A parameter of type IntVar, StringVar, DoubleVar or
BooleanVar must be given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.wait_visibility">
<tt class="descname">wait_visibility</tt><big>(</big><em>window=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.wait_visibility" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the visibility of a WIDGET changes
(e.g. it appears).</p>
<p>If no parameter is given self is used.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.wait_window">
<tt class="descname">wait_window</tt><big>(</big><em>window=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.wait_window" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until a WIDGET is destroyed.</p>
<p>If no parameter is given self is used.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.waitvar">
<tt class="descname">waitvar</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.waitvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the variable is modified.</p>
<p>A parameter of type IntVar, StringVar, DoubleVar or
BooleanVar must be given.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.DiagCanvas.width">
<tt class="descname">width</tt><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.width" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_atom">
<tt class="descname">winfo_atom</tt><big>(</big><em>name</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_atom" title="Permalink to this definition">¶</a></dt>
<dd><p>Return integer which represents atom NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_atomname">
<tt class="descname">winfo_atomname</tt><big>(</big><em>id</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_atomname" title="Permalink to this definition">¶</a></dt>
<dd><p>Return name of atom with identifier ID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_cells">
<tt class="descname">winfo_cells</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_cells" title="Permalink to this definition">¶</a></dt>
<dd><p>Return number of cells in the colormap for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_children">
<tt class="descname">winfo_children</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_children" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all widgets which are children of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_class">
<tt class="descname">winfo_class</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Return window class name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_colormapfull">
<tt class="descname">winfo_colormapfull</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_colormapfull" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if at the last color request the colormap was full.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_containing">
<tt class="descname">winfo_containing</tt><big>(</big><em>rootX</em>, <em>rootY</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_containing" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which is at the root coordinates ROOTX, ROOTY.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_depth">
<tt class="descname">winfo_depth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_depth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of bits per pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_exists">
<tt class="descname">winfo_exists</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_exists" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if this widget exists.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_fpixels">
<tt class="descname">winfo_fpixels</tt><big>(</big><em>number</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_fpixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels for the given distance NUMBER
(e.g. &#8220;3c&#8221;) as float.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_geometry">
<tt class="descname">winfo_geometry</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_geometry" title="Permalink to this definition">¶</a></dt>
<dd><p>Return geometry string for this widget in the form &#8220;widthxheight+X+Y&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_height">
<tt class="descname">winfo_height</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_height" title="Permalink to this definition">¶</a></dt>
<dd><p>Return height of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_id">
<tt class="descname">winfo_id</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_id" title="Permalink to this definition">¶</a></dt>
<dd><p>Return identifier ID for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_interps">
<tt class="descname">winfo_interps</tt><big>(</big><em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_interps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of all Tcl interpreters for this display.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_ismapped">
<tt class="descname">winfo_ismapped</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_ismapped" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if this widget is mapped.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_manager">
<tt class="descname">winfo_manager</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_manager" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the window mananger name for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_name">
<tt class="descname">winfo_name</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_name" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_parent">
<tt class="descname">winfo_parent</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_parent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of the parent of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_pathname">
<tt class="descname">winfo_pathname</tt><big>(</big><em>id</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_pathname" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the pathname of the widget given by ID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_pixels">
<tt class="descname">winfo_pixels</tt><big>(</big><em>number</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_pixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Rounded integer value of winfo_fpixels.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_pointerx">
<tt class="descname">winfo_pointerx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_pointerx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x coordinate of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_pointerxy">
<tt class="descname">winfo_pointerxy</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_pointerxy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of x and y coordinates of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_pointery">
<tt class="descname">winfo_pointery</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_pointery" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y coordinate of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_reqheight">
<tt class="descname">winfo_reqheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_reqheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return requested height of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_reqwidth">
<tt class="descname">winfo_reqwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_reqwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return requested width of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_rgb">
<tt class="descname">winfo_rgb</tt><big>(</big><em>color</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_rgb" title="Permalink to this definition">¶</a></dt>
<dd><p>Return tuple of decimal values for red, green, blue for
COLOR in this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_rootx">
<tt class="descname">winfo_rootx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_rootx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return x coordinate of upper left corner of this widget on the
root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_rooty">
<tt class="descname">winfo_rooty</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_rooty" title="Permalink to this definition">¶</a></dt>
<dd><p>Return y coordinate of upper left corner of this widget on the
root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screen">
<tt class="descname">winfo_screen</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screen" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the screen name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screencells">
<tt class="descname">winfo_screencells</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screencells" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of the cells in the colormap of the screen
of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screendepth">
<tt class="descname">winfo_screendepth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screendepth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of bits per pixel of the root window of the
screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screenheight">
<tt class="descname">winfo_screenheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screenheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the height of the screen of this widget
in pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screenmmheight">
<tt class="descname">winfo_screenmmheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screenmmheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the height of the screen of
this widget in mm.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screenmmwidth">
<tt class="descname">winfo_screenmmwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screenmmwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the width of the screen of
this widget in mm.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screenvisual">
<tt class="descname">winfo_screenvisual</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screenvisual" title="Permalink to this definition">¶</a></dt>
<dd><p>Return one of the strings directcolor, grayscale, pseudocolor,
staticcolor, staticgray, or truecolor for the default
colormodel of this screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_screenwidth">
<tt class="descname">winfo_screenwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_screenwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the width of the screen of
this widget in pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_server">
<tt class="descname">winfo_server</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_server" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information of the X-Server of the screen of this widget in
the form &#8220;XmajorRminor vendor vendorVersion&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_toplevel">
<tt class="descname">winfo_toplevel</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_toplevel" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the toplevel widget of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_viewable">
<tt class="descname">winfo_viewable</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_viewable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if the widget and all its higher ancestors are mapped.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_visual">
<tt class="descname">winfo_visual</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_visual" title="Permalink to this definition">¶</a></dt>
<dd><p>Return one of the strings directcolor, grayscale, pseudocolor,
staticcolor, staticgray, or truecolor for the
colormodel of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_visualid">
<tt class="descname">winfo_visualid</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_visualid" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the X identifier for the visual for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_visualsavailable">
<tt class="descname">winfo_visualsavailable</tt><big>(</big><em>includeids=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_visualsavailable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all visuals available for the screen
of this widget.</p>
<p>Each item in the list consists of a visual name (see winfo_visual), a
depth and if INCLUDEIDS=1 is given also the X identifier.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_vrootheight">
<tt class="descname">winfo_vrootheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_vrootheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the height of the virtual root window associated with this
widget in pixels. If there is no virtual root window return the
height of the screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_vrootwidth">
<tt class="descname">winfo_vrootwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_vrootwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the width of the virtual root window associated with this
widget in pixel. If there is no virtual root window return the
width of the screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_vrootx">
<tt class="descname">winfo_vrootx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_vrootx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x offset of the virtual root relative to the root
window of the screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_vrooty">
<tt class="descname">winfo_vrooty</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_vrooty" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y offset of the virtual root relative to the root
window of the screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_width">
<tt class="descname">winfo_width</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_width" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the width of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_x">
<tt class="descname">winfo_x</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_x" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x coordinate of the upper left corner of this widget
in the parent.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.winfo_y">
<tt class="descname">winfo_y</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.winfo_y" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y coordinate of the upper left corner of this widget
in the parent.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.xview">
<tt class="descname">xview</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.xview" title="Permalink to this definition">¶</a></dt>
<dd><p>Query and change the horizontal position of the view.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.xview_moveto">
<tt class="descname">xview_moveto</tt><big>(</big><em>fraction</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.xview_moveto" title="Permalink to this definition">¶</a></dt>
<dd><p>Adjusts the view in the window so that FRACTION of the
total width of the canvas is off-screen to the left.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.xview_scroll">
<tt class="descname">xview_scroll</tt><big>(</big><em>number</em>, <em>what</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.xview_scroll" title="Permalink to this definition">¶</a></dt>
<dd><p>Shift the x-view according to NUMBER which is measured in &#8220;units&#8221;
or &#8220;pages&#8221; (WHAT).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.yview">
<tt class="descname">yview</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.yview" title="Permalink to this definition">¶</a></dt>
<dd><p>Query and change the vertical position of the view.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.yview_moveto">
<tt class="descname">yview_moveto</tt><big>(</big><em>fraction</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.yview_moveto" title="Permalink to this definition">¶</a></dt>
<dd><p>Adjusts the view in the window so that FRACTION of the
total height of the canvas is off-screen to the top.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.DiagCanvas.yview_scroll">
<tt class="descname">yview_scroll</tt><big>(</big><em>number</em>, <em>what</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.DiagCanvas.yview_scroll" title="Permalink to this definition">¶</a></dt>
<dd><p>Shift the y-view according to NUMBER which is measured in
&#8220;units&#8221; or &#8220;pages&#8221; (WHAT).</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Diagram">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Diagram</tt><big>(</big><em>lumpy</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>the parent class for ClassDiagram and ObjectDiagram.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.add_arrow" title="scitools.Lumpy.Diagram.add_arrow"><tt class="xref py py-obj docutils literal"><span class="pre">add_arrow</span></tt></a>(arrow)</td>
<td>append a new arrow on the list</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.ca" title="scitools.Lumpy.Diagram.ca"><tt class="xref py py-obj docutils literal"><span class="pre">ca</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a canvas for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.close" title="scitools.Lumpy.Diagram.close"><tt class="xref py py-obj docutils literal"><span class="pre">close</span></tt></a>()</td>
<td>close the window and exit</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.draw_arrows" title="scitools.Lumpy.Diagram.draw_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">draw_arrows</span></tt></a>()</td>
<td>draw all the arrows on the list</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.printfile" title="scitools.Lumpy.Diagram.printfile"><tt class="xref py py-obj docutils literal"><span class="pre">printfile</span></tt></a>()</td>
<td>dump the contents of the canvas to the filename in the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.setup" title="scitools.Lumpy.Diagram.setup"><tt class="xref py py-obj docutils literal"><span class="pre">setup</span></tt></a>()</td>
<td>create the gui for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Diagram.update_arrows" title="scitools.Lumpy.Diagram.update_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">update_arrows</span></tt></a>([n])</td>
<td>update up to n arrows (or all of them is n==None)</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Diagram.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Diagram.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', 'setup': &lt;function setup at 0x50e8aa0&gt;, 'draw_arrows': &lt;function draw_arrows at 0x50e8c80&gt;, 'printfile': &lt;function printfile at 0x50e8b18&gt;, '__init__': &lt;function __init__ at 0x50e89b0&gt;, 'close': &lt;function close at 0x50e8b90&gt;, '__dict__': &lt;attribute '__dict__' of 'Diagram' objects&gt;, 'update_arrows': &lt;function update_arrows at 0x50e8cf8&gt;, 'ca': &lt;function ca at 0x50e8a28&gt;, '__weakref__': &lt;attribute '__weakref__' of 'Diagram' objects&gt;, '__doc__': 'the parent class for ClassDiagram and ObjectDiagram.\n    ', 'add_arrow': &lt;function add_arrow at 0x50e8c08&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Diagram.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Diagram.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Diagram.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Diagram.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.Diagram.__new__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Diagram.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Diagram.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Diagram.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Diagram.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Diagram.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Diagram.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.add_arrow">
<tt class="descname">add_arrow</tt><big>(</big><em>arrow</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.add_arrow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.add_arrow" title="Permalink to this definition">¶</a></dt>
<dd><p>append a new arrow on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.ca">
<tt class="descname">ca</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.ca"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.ca" title="Permalink to this definition">¶</a></dt>
<dd><p>make a canvas for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.close">
<tt class="descname">close</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.close"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.close" title="Permalink to this definition">¶</a></dt>
<dd><p>close the window and exit</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.draw_arrows">
<tt class="descname">draw_arrows</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.draw_arrows"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.draw_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>draw all the arrows on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.printfile">
<tt class="descname">printfile</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.printfile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.printfile" title="Permalink to this definition">¶</a></dt>
<dd><p>dump the contents of the canvas to the filename in the
filename entry.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.setup">
<tt class="descname">setup</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.setup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.setup" title="Permalink to this definition">¶</a></dt>
<dd><p>create the gui for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Diagram.update_arrows">
<tt class="descname">update_arrows</tt><big>(</big><em>n=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Diagram.update_arrows"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Diagram.update_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>update up to n arrows (or all of them is n==None)</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Dot">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Dot</tt><a class="reference internal" href="_modules/scitools/Lumpy.html#Dot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Dot" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>the Thing that represents a dot in a diagram</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Dot.bbox" title="scitools.Lumpy.Dot.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Dot.bind" title="scitools.Lumpy.Dot.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Dot.down" title="scitools.Lumpy.Dot.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Dot.draw" title="scitools.Lumpy.Dot.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Dot.drawme" title="scitools.Lumpy.Dot.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Dot.isdrawn" title="scitools.Lumpy.Dot.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Dot.motion" title="scitools.Lumpy.Dot.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Dot.pos" title="scitools.Lumpy.Dot.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Dot.set_offset" title="scitools.Lumpy.Dot.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Dot.up" title="scitools.Lumpy.Dot.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', '__doc__': 'the Thing that represents a dot in a diagram', 'drawme': &lt;function drawme at 0x50ec848&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Dot.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__init__">
<tt class="descname">__init__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Dot.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Dot.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Dot.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Dot.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Dot.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Dot.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Dot.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Dot.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Dot.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Dot.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Dot.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Dot.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Frame">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Frame</tt><big>(</big><em>lumpy</em>, <em>frame</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Frame"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Frame" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Mapping" title="scitools.Lumpy.Mapping"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Mapping</span></tt></a></p>
<p>The graphical representation of a frame,
implemented as a list of Bindings</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.bbox" title="scitools.Lumpy.Frame.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>the bbox of a Mapping is the bbox of its box item.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.bind" title="scitools.Lumpy.Frame.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.down" title="scitools.Lumpy.Frame.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.draw" title="scitools.Lumpy.Frame.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.drawme" title="scitools.Lumpy.Frame.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>drawme is the middle part of the way objects are drawn.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.isdrawn" title="scitools.Lumpy.Frame.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.motion" title="scitools.Lumpy.Frame.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.pos" title="scitools.Lumpy.Frame.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.scan_bindings" title="scitools.Lumpy.Frame.scan_bindings"><tt class="xref py py-obj docutils literal"><span class="pre">scan_bindings</span></tt></a>(cls)</td>
<td>scan the bindings in this mapping, looking for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.scan_val" title="scitools.Lumpy.Frame.scan_val"><tt class="xref py py-obj docutils literal"><span class="pre">scan_val</span></tt></a>(cls,&nbsp;val)</td>
<td>if we find a reference to an object type, make a note</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Frame.set_offset" title="scitools.Lumpy.Frame.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Frame.up" title="scitools.Lumpy.Frame.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Frame.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Frame.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', '__doc__': 'The graphical representation of a frame,\n    implemented as a list of Bindings', '__init__': &lt;function __init__ at 0x50ecf50&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Frame.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Frame.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>frame</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Frame.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Frame.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Frame.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Frame.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Frame.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Frame.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Frame.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Frame.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>the bbox of a Mapping is the bbox of its box item.
This is different from other Things.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.drawme" title="Permalink to this definition">¶</a></dt>
<dd><p>drawme is the middle part of the way objects are drawn.
Thing.draw does some prep work, invokes drawme, and then
does some cleanup.  draw and drawme are not allowed to
modify pos.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.scan_bindings">
<tt class="descname">scan_bindings</tt><big>(</big><em>cls</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.scan_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>scan the bindings in this mapping, looking for
references to other object types.  cls is the Class
of the object that contains this mapping</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.scan_val">
<tt class="descname">scan_val</tt><big>(</big><em>cls</em>, <em>val</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.scan_val" title="Permalink to this definition">¶</a></dt>
<dd><p>if we find a reference to an object type, make a note
of the HAS-A relationship.  If we find a reference to a
container type, scan it for references.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Frame.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Frame.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Frame.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Frame.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Frame.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Index">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Index</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Index"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Index" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Simple" title="scitools.Lumpy.Simple"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Simple</span></tt></a></p>
<p>the graphical representation of an index in a Sequence.
An Index object does not register with lumpy, so that even
in pedantic mode, it is always drawn, and it is never the
target of a reference (since it is not really a value at
run-time).</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Index.bbox" title="scitools.Lumpy.Index.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Index.bind" title="scitools.Lumpy.Index.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Index.down" title="scitools.Lumpy.Index.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Index.draw" title="scitools.Lumpy.Index.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Index.drawme" title="scitools.Lumpy.Index.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Index.isdrawn" title="scitools.Lumpy.Index.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Index.motion" title="scitools.Lumpy.Index.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Index.pos" title="scitools.Lumpy.Index.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Index.set_offset" title="scitools.Lumpy.Index.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Index.up" title="scitools.Lumpy.Index.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Index.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Index.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Index.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__init__': &lt;function __init__ at 0x50ec9b0&gt;, '__module__': 'scitools.Lumpy', '__doc__': 'the graphical representation of an index in a Sequence.\n    An Index object does not register with lumpy, so that even\n    in pedantic mode, it is always drawn, and it is never the\n    target of a reference (since it is not really a value at\n    run-time).\n    ', 'drawme': &lt;function drawme at 0x50eca28&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Index.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Index.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Index.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Index.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Index.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Index.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Index.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Index.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Index.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Index.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Index.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Index.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Index.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Index.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Index.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Index.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Index.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Instance">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Instance</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Instance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Instance" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Mapping" title="scitools.Lumpy.Mapping"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Mapping</span></tt></a></p>
<p>The graphical representation of an object (usually).
Anything with a __dict__ is treated as an Instance.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.bbox" title="scitools.Lumpy.Instance.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>the bbox of a Mapping is the bbox of its box item.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.bind" title="scitools.Lumpy.Instance.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.down" title="scitools.Lumpy.Instance.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.draw" title="scitools.Lumpy.Instance.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.drawme" title="scitools.Lumpy.Instance.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>drawme is the middle part of the way objects are drawn.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.isdrawn" title="scitools.Lumpy.Instance.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.motion" title="scitools.Lumpy.Instance.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.pos" title="scitools.Lumpy.Instance.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.scan_bindings" title="scitools.Lumpy.Instance.scan_bindings"><tt class="xref py py-obj docutils literal"><span class="pre">scan_bindings</span></tt></a>(cls)</td>
<td>scan the bindings in this Instance, looking for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.scan_val" title="scitools.Lumpy.Instance.scan_val"><tt class="xref py py-obj docutils literal"><span class="pre">scan_val</span></tt></a>(cls,&nbsp;val)</td>
<td>if we find a reference to an object type, make a note</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Instance.set_offset" title="scitools.Lumpy.Instance.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Instance.up" title="scitools.Lumpy.Instance.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Instance.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Instance.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'scan_bindings': &lt;function scan_bindings at 0x50ece60&gt;, '__module__': 'scitools.Lumpy', '__doc__': 'The graphical representation of an object (usually).\n    Anything with a __dict__ is treated as an Instance.\n    ', '__init__': &lt;function __init__ at 0x50ecde8&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Instance.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Instance.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Instance.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Instance.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Instance.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Instance.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Instance.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Instance.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Instance.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Instance.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>the bbox of a Mapping is the bbox of its box item.
This is different from other Things.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.drawme" title="Permalink to this definition">¶</a></dt>
<dd><p>drawme is the middle part of the way objects are drawn.
Thing.draw does some prep work, invokes drawme, and then
does some cleanup.  draw and drawme are not allowed to
modify pos.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.scan_bindings">
<tt class="descname">scan_bindings</tt><big>(</big><em>cls</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Instance.scan_bindings"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Instance.scan_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>scan the bindings in this Instance, looking for
references to other object types; also, make a note
of the names of the instance variables.
cls is the Class object this instance belongs to.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.scan_val">
<tt class="descname">scan_val</tt><big>(</big><em>cls</em>, <em>val</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.scan_val" title="Permalink to this definition">¶</a></dt>
<dd><p>if we find a reference to an object type, make a note
of the HAS-A relationship.  If we find a reference to a
container type, scan it for references.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Instance.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Instance.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Instance.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Instance.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Instance.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Lumpy">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Lumpy</tt><big>(</big><em>debug=False</em>, <em>pedantic=False</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">scitools._Gui.Gui</span></tt></p>
<p>the Lumpy object represents the GUI window.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.ScrollableCanvas" title="scitools.Lumpy.Lumpy.ScrollableCanvas"><tt class="xref py py-obj docutils literal"><span class="pre">ScrollableCanvas</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.ScrollableText" title="scitools.Lumpy.Lumpy.ScrollableText"><tt class="xref py py-obj docutils literal"><span class="pre">ScrollableText</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.after" title="scitools.Lumpy.Lumpy.after"><tt class="xref py py-obj docutils literal"><span class="pre">after</span></tt></a>(ms[,&nbsp;func])</td>
<td>Call function once after given time.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.after_cancel" title="scitools.Lumpy.Lumpy.after_cancel"><tt class="xref py py-obj docutils literal"><span class="pre">after_cancel</span></tt></a>(id)</td>
<td>Cancel scheduling of function identified with ID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.after_idle" title="scitools.Lumpy.Lumpy.after_idle"><tt class="xref py py-obj docutils literal"><span class="pre">after_idle</span></tt></a>(func,&nbsp;*args)</td>
<td>Call FUNC once if the Tcl main loop has no event to</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.aspect" title="scitools.Lumpy.Lumpy.aspect"><tt class="xref py py-obj docutils literal"><span class="pre">aspect</span></tt></a>([minNumer,&nbsp;minDenom,&nbsp;maxNumer,&nbsp;maxDenom])</td>
<td>Instruct the window manager to set the aspect ratio (width/height)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.attributes" title="scitools.Lumpy.Lumpy.attributes"><tt class="xref py py-obj docutils literal"><span class="pre">attributes</span></tt></a>(*args)</td>
<td>This subcommand returns or sets platform specific attributes</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bbox" title="scitools.Lumpy.Lumpy.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>([column,&nbsp;row,&nbsp;col2,&nbsp;row2])</td>
<td>Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bell" title="scitools.Lumpy.Lumpy.bell"><tt class="xref py py-obj docutils literal"><span class="pre">bell</span></tt></a>([displayof])</td>
<td>Ring a display&#8217;s bell.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bind" title="scitools.Lumpy.Lumpy.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to this widget at event SEQUENCE a call to function FUNC.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bind_all" title="scitools.Lumpy.Lumpy.bind_all"><tt class="xref py py-obj docutils literal"><span class="pre">bind_all</span></tt></a>([sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to all widgets at an event SEQUENCE a call to function FUNC.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bind_class" title="scitools.Lumpy.Lumpy.bind_class"><tt class="xref py py-obj docutils literal"><span class="pre">bind_class</span></tt></a>(className[,&nbsp;sequence,&nbsp;func,&nbsp;add])</td>
<td>Bind to widgets with bindtag CLASSNAME at event</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bindtags" title="scitools.Lumpy.Lumpy.bindtags"><tt class="xref py py-obj docutils literal"><span class="pre">bindtags</span></tt></a>([tagList])</td>
<td>Set or get the list of bindtags for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.bu" title="scitools.Lumpy.Lumpy.bu"><tt class="xref py py-obj docutils literal"><span class="pre">bu</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a button</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.ca" title="scitools.Lumpy.Lumpy.ca"><tt class="xref py py-obj docutils literal"><span class="pre">ca</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a canvas widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.cb" title="scitools.Lumpy.Lumpy.cb"><tt class="xref py py-obj docutils literal"><span class="pre">cb</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a checkbutton.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.cget" title="scitools.Lumpy.Lumpy.cget"><tt class="xref py py-obj docutils literal"><span class="pre">cget</span></tt></a>(key)</td>
<td>Return the resource value for a KEY given as string.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.class_diagram" title="scitools.Lumpy.Lumpy.class_diagram"><tt class="xref py py-obj docutils literal"><span class="pre">class_diagram</span></tt></a>([classes])</td>
<td>create a new object diagram based on the current state.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.client" title="scitools.Lumpy.Lumpy.client"><tt class="xref py py-obj docutils literal"><span class="pre">client</span></tt></a>([name])</td>
<td>Store NAME in WM_CLIENT_MACHINE property of this widget. Return</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.clipboard_append" title="scitools.Lumpy.Lumpy.clipboard_append"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_append</span></tt></a>(string,&nbsp;**kw)</td>
<td>Append STRING to the Tk clipboard.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.clipboard_clear" title="scitools.Lumpy.Lumpy.clipboard_clear"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_clear</span></tt></a>(**kw)</td>
<td>Clear the data in the Tk clipboard.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.clipboard_get" title="scitools.Lumpy.Lumpy.clipboard_get"><tt class="xref py py-obj docutils literal"><span class="pre">clipboard_get</span></tt></a>(**kw)</td>
<td>Retrieve data from the clipboard on window&#8217;s display.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.colormapwindows" title="scitools.Lumpy.Lumpy.colormapwindows"><tt class="xref py py-obj docutils literal"><span class="pre">colormapwindows</span></tt></a>(*wlist)</td>
<td>Store list of window names (WLIST) into WM_COLORMAPWINDOWS property</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.colormodel" title="scitools.Lumpy.Lumpy.colormodel"><tt class="xref py py-obj docutils literal"><span class="pre">colormodel</span></tt></a>([value])</td>
<td>Useless.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.columnconfigure" title="scitools.Lumpy.Lumpy.columnconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">columnconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure column INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.colweights" title="scitools.Lumpy.Lumpy.colweights"><tt class="xref py py-obj docutils literal"><span class="pre">colweights</span></tt></a>(weights)</td>
<td>attach weights to the columns of the current grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.command" title="scitools.Lumpy.Lumpy.command"><tt class="xref py py-obj docutils literal"><span class="pre">command</span></tt></a>([value])</td>
<td>Store VALUE in WM_COMMAND property. It is the command</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.config" title="scitools.Lumpy.Lumpy.config"><tt class="xref py py-obj docutils literal"><span class="pre">config</span></tt></a>([cnf])</td>
<td>Configure resources of a widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.configure" title="scitools.Lumpy.Lumpy.configure"><tt class="xref py py-obj docutils literal"><span class="pre">configure</span></tt></a>([cnf])</td>
<td>Configure resources of a widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.deiconify" title="scitools.Lumpy.Lumpy.deiconify"><tt class="xref py py-obj docutils literal"><span class="pre">deiconify</span></tt></a>()</td>
<td>Deiconify this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.deletecommand" title="scitools.Lumpy.Lumpy.deletecommand"><tt class="xref py py-obj docutils literal"><span class="pre">deletecommand</span></tt></a>(name)</td>
<td>Internal function.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.destroy" title="scitools.Lumpy.Lumpy.destroy"><tt class="xref py py-obj docutils literal"><span class="pre">destroy</span></tt></a>()</td>
<td>Destroy this and all descendants widgets.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.en" title="scitools.Lumpy.Lumpy.en"><tt class="xref py py-obj docutils literal"><span class="pre">en</span></tt></a>(*args,&nbsp;**options)</td>
<td>make an entry widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.endfr" title="scitools.Lumpy.Lumpy.endfr"><tt class="xref py py-obj docutils literal"><span class="pre">endfr</span></tt></a>()</td>
<td>end the current frame (and return it)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.endgr" title="scitools.Lumpy.Lumpy.endgr"><tt class="xref py py-obj docutils literal"><span class="pre">endgr</span></tt></a>()</td>
<td>end the current frame (and return it)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.event_add" title="scitools.Lumpy.Lumpy.event_add"><tt class="xref py py-obj docutils literal"><span class="pre">event_add</span></tt></a>(virtual,&nbsp;*sequences)</td>
<td>Bind a virtual event VIRTUAL (of the form &lt;&lt;Name&gt;&gt;)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.event_delete" title="scitools.Lumpy.Lumpy.event_delete"><tt class="xref py py-obj docutils literal"><span class="pre">event_delete</span></tt></a>(virtual,&nbsp;*sequences)</td>
<td>Unbind a virtual event VIRTUAL from SEQUENCE.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.event_generate" title="scitools.Lumpy.Lumpy.event_generate"><tt class="xref py py-obj docutils literal"><span class="pre">event_generate</span></tt></a>(sequence,&nbsp;**kw)</td>
<td>Generate an event SEQUENCE. Additional</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.event_info" title="scitools.Lumpy.Lumpy.event_info"><tt class="xref py py-obj docutils literal"><span class="pre">event_info</span></tt></a>([virtual])</td>
<td>Return a list of all virtual events or the information</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus" title="scitools.Lumpy.Lumpy.focus"><tt class="xref py py-obj docutils literal"><span class="pre">focus</span></tt></a>()</td>
<td>Direct input focus to this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus_displayof" title="scitools.Lumpy.Lumpy.focus_displayof"><tt class="xref py py-obj docutils literal"><span class="pre">focus_displayof</span></tt></a>()</td>
<td>Return the widget which has currently the focus on the display where this widget is located.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus_force" title="scitools.Lumpy.Lumpy.focus_force"><tt class="xref py py-obj docutils literal"><span class="pre">focus_force</span></tt></a>()</td>
<td>Direct input focus to this widget even if the application does not have the focus.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus_get" title="scitools.Lumpy.Lumpy.focus_get"><tt class="xref py py-obj docutils literal"><span class="pre">focus_get</span></tt></a>()</td>
<td>Return the widget which has currently the focus in the application.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus_lastfor" title="scitools.Lumpy.Lumpy.focus_lastfor"><tt class="xref py py-obj docutils literal"><span class="pre">focus_lastfor</span></tt></a>()</td>
<td>Return the widget which would have the focus if top level</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focus_set" title="scitools.Lumpy.Lumpy.focus_set"><tt class="xref py py-obj docutils literal"><span class="pre">focus_set</span></tt></a>()</td>
<td>Direct input focus to this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.focusmodel" title="scitools.Lumpy.Lumpy.focusmodel"><tt class="xref py py-obj docutils literal"><span class="pre">focusmodel</span></tt></a>([model])</td>
<td>Set focus model to MODEL. &#8220;active&#8221; means that this widget will claim</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.fr" title="scitools.Lumpy.Lumpy.fr"><tt class="xref py py-obj docutils literal"><span class="pre">fr</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a return a frame.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.geometry" title="scitools.Lumpy.Lumpy.geometry"><tt class="xref py py-obj docutils literal"><span class="pre">geometry</span></tt></a>([newGeometry])</td>
<td>Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.get_class_list" title="scitools.Lumpy.Lumpy.get_class_list"><tt class="xref py py-obj docutils literal"><span class="pre">get_class_list</span></tt></a>()</td>
<td>return the list of classes that should be drawn in</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.getboolean" title="scitools.Lumpy.Lumpy.getboolean"><tt class="xref py py-obj docutils literal"><span class="pre">getboolean</span></tt></a>(s)</td>
<td>Return a boolean value for Tcl boolean values true and false given as parameter.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.getdouble" title="scitools.Lumpy.Lumpy.getdouble"><tt class="xref py py-obj docutils literal"><span class="pre">getdouble</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.getint" title="scitools.Lumpy.Lumpy.getint"><tt class="xref py py-obj docutils literal"><span class="pre">getint</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.getvar" title="scitools.Lumpy.Lumpy.getvar"><tt class="xref py py-obj docutils literal"><span class="pre">getvar</span></tt></a>([name])</td>
<td>Return value of Tcl variable NAME.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.gr" title="scitools.Lumpy.Lumpy.gr"><tt class="xref py py-obj docutils literal"><span class="pre">gr</span></tt></a>(cols[,&nbsp;cweights,&nbsp;rweights])</td>
<td>create a frame and switch to grid mode.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grab_current" title="scitools.Lumpy.Lumpy.grab_current"><tt class="xref py py-obj docutils literal"><span class="pre">grab_current</span></tt></a>()</td>
<td>Return widget which has currently the grab in this application</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grab_release" title="scitools.Lumpy.Lumpy.grab_release"><tt class="xref py py-obj docutils literal"><span class="pre">grab_release</span></tt></a>()</td>
<td>Release grab for this widget if currently set.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grab_set" title="scitools.Lumpy.Lumpy.grab_set"><tt class="xref py py-obj docutils literal"><span class="pre">grab_set</span></tt></a>()</td>
<td>Set grab for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grab_set_global" title="scitools.Lumpy.Lumpy.grab_set_global"><tt class="xref py py-obj docutils literal"><span class="pre">grab_set_global</span></tt></a>()</td>
<td>Set global grab for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grab_status" title="scitools.Lumpy.Lumpy.grab_status"><tt class="xref py py-obj docutils literal"><span class="pre">grab_status</span></tt></a>()</td>
<td>Return None, &#8220;local&#8221; or &#8220;global&#8221; if this widget has</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid" title="scitools.Lumpy.Lumpy.grid"><tt class="xref py py-obj docutils literal"><span class="pre">grid</span></tt></a>(widget[,&nbsp;i,&nbsp;j])</td>
<td>pack the given widget in the current grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_bbox" title="scitools.Lumpy.Lumpy.grid_bbox"><tt class="xref py py-obj docutils literal"><span class="pre">grid_bbox</span></tt></a>([column,&nbsp;row,&nbsp;col2,&nbsp;row2])</td>
<td>Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_columnconfigure" title="scitools.Lumpy.Lumpy.grid_columnconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">grid_columnconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure column INDEX of a grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_location" title="scitools.Lumpy.Lumpy.grid_location"><tt class="xref py py-obj docutils literal"><span class="pre">grid_location</span></tt></a>(x,&nbsp;y)</td>
<td>Return a tuple of column and row which identify the cell</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_propagate" title="scitools.Lumpy.Lumpy.grid_propagate"><tt class="xref py py-obj docutils literal"><span class="pre">grid_propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_rowconfigure" title="scitools.Lumpy.Lumpy.grid_rowconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">grid_rowconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure row INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_size" title="scitools.Lumpy.Lumpy.grid_size"><tt class="xref py py-obj docutils literal"><span class="pre">grid_size</span></tt></a>()</td>
<td>Return a tuple of the number of column and rows in the grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.grid_slaves" title="scitools.Lumpy.Lumpy.grid_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">grid_slaves</span></tt></a>([row,&nbsp;column])</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.group" title="scitools.Lumpy.Lumpy.group"><tt class="xref py py-obj docutils literal"><span class="pre">group</span></tt></a>([pathName])</td>
<td>Set the group leader widgets for related widgets to PATHNAME. Return</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconbitmap" title="scitools.Lumpy.Lumpy.iconbitmap"><tt class="xref py py-obj docutils literal"><span class="pre">iconbitmap</span></tt></a>([bitmap,&nbsp;default])</td>
<td>Set bitmap for the iconified widget to BITMAP. Return</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconify" title="scitools.Lumpy.Lumpy.iconify"><tt class="xref py py-obj docutils literal"><span class="pre">iconify</span></tt></a>()</td>
<td>Display widget as icon.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconmask" title="scitools.Lumpy.Lumpy.iconmask"><tt class="xref py py-obj docutils literal"><span class="pre">iconmask</span></tt></a>([bitmap])</td>
<td>Set mask for the icon bitmap of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconname" title="scitools.Lumpy.Lumpy.iconname"><tt class="xref py py-obj docutils literal"><span class="pre">iconname</span></tt></a>([newName])</td>
<td>Set the name of the icon for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconposition" title="scitools.Lumpy.Lumpy.iconposition"><tt class="xref py py-obj docutils literal"><span class="pre">iconposition</span></tt></a>([x,&nbsp;y])</td>
<td>Set the position of the icon of this widget to X and Y. Return</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.iconwindow" title="scitools.Lumpy.Lumpy.iconwindow"><tt class="xref py py-obj docutils literal"><span class="pre">iconwindow</span></tt></a>([pathName])</td>
<td>Set widget PATHNAME to be displayed instead of icon. Return the current</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.image_names" title="scitools.Lumpy.Lumpy.image_names"><tt class="xref py py-obj docutils literal"><span class="pre">image_names</span></tt></a>()</td>
<td>Return a list of all existing image names.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.image_types" title="scitools.Lumpy.Lumpy.image_types"><tt class="xref py py-obj docutils literal"><span class="pre">image_types</span></tt></a>()</td>
<td>Return a list of all available image types (e.g.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.is_opaque" title="scitools.Lumpy.Lumpy.is_opaque"><tt class="xref py py-obj docutils literal"><span class="pre">is_opaque</span></tt></a>(classobj)</td>
<td>check whether this class is completely opaque</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.keys" title="scitools.Lumpy.Lumpy.keys"><tt class="xref py py-obj docutils literal"><span class="pre">keys</span></tt></a>()</td>
<td>Return a list of all resource names of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.la" title="scitools.Lumpy.Lumpy.la"><tt class="xref py py-obj docutils literal"><span class="pre">la</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a label widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.lb" title="scitools.Lumpy.Lumpy.lb"><tt class="xref py py-obj docutils literal"><span class="pre">lb</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a listbox.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.lift" title="scitools.Lumpy.Lumpy.lift"><tt class="xref py py-obj docutils literal"><span class="pre">lift</span></tt></a>([aboveThis])</td>
<td>Raise this widget in the stacking order.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.loadtk" title="scitools.Lumpy.Lumpy.loadtk"><tt class="xref py py-obj docutils literal"><span class="pre">loadtk</span></tt></a>()</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.lookup" title="scitools.Lumpy.Lumpy.lookup"><tt class="xref py py-obj docutils literal"><span class="pre">lookup</span></tt></a>(val)</td>
<td>check to see whether the given value is already represented</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.lower" title="scitools.Lumpy.Lumpy.lower"><tt class="xref py py-obj docutils literal"><span class="pre">lower</span></tt></a>([belowThis])</td>
<td>Lower this widget in the stacking order.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.mainloop" title="scitools.Lumpy.Lumpy.mainloop"><tt class="xref py py-obj docutils literal"><span class="pre">mainloop</span></tt></a>([n])</td>
<td>Call the mainloop of Tk.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.make_reference" title="scitools.Lumpy.Lumpy.make_reference"><tt class="xref py py-obj docutils literal"><span class="pre">make_reference</span></tt></a>()</td>
<td>make a reference point by taking a snapshot of the current</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.make_reference2" title="scitools.Lumpy.Lumpy.make_reference2"><tt class="xref py py-obj docutils literal"><span class="pre">make_reference2</span></tt></a>()</td>
<td>this extra method call is here so that the reference</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.make_stack" title="scitools.Lumpy.Lumpy.make_stack"><tt class="xref py py-obj docutils literal"><span class="pre">make_stack</span></tt></a>()</td>
<td>take a snapshot of the current state, subtract away the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.maxsize" title="scitools.Lumpy.Lumpy.maxsize"><tt class="xref py py-obj docutils literal"><span class="pre">maxsize</span></tt></a>([width,&nbsp;height])</td>
<td>Set max WIDTH and HEIGHT for this widget. If the window is gridded</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.mb" title="scitools.Lumpy.Lumpy.mb"><tt class="xref py py-obj docutils literal"><span class="pre">mb</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a menubutton</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.mi" title="scitools.Lumpy.Lumpy.mi"><tt class="xref py py-obj docutils literal"><span class="pre">mi</span></tt></a>(mb[,&nbsp;label])</td>
<td>make a menu item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.minsize" title="scitools.Lumpy.Lumpy.minsize"><tt class="xref py py-obj docutils literal"><span class="pre">minsize</span></tt></a>([width,&nbsp;height])</td>
<td>Set min WIDTH and HEIGHT for this widget. If the window is gridded</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.nametowidget" title="scitools.Lumpy.Lumpy.nametowidget"><tt class="xref py py-obj docutils literal"><span class="pre">nametowidget</span></tt></a>(name)</td>
<td>Return the Tkinter instance of a widget identified by</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.object_diagram" title="scitools.Lumpy.Lumpy.object_diagram"><tt class="xref py py-obj docutils literal"><span class="pre">object_diagram</span></tt></a>([obj])</td>
<td>create a new object diagram based on the current state.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.opaque_class" title="scitools.Lumpy.Lumpy.opaque_class"><tt class="xref py py-obj docutils literal"><span class="pre">opaque_class</span></tt></a>(classobj)</td>
<td>restrict this class to no variables</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.opaque_module" title="scitools.Lumpy.Lumpy.opaque_module"><tt class="xref py py-obj docutils literal"><span class="pre">opaque_module</span></tt></a>(modobj)</td>
<td>make all classes defined in this module opaque</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.option_add" title="scitools.Lumpy.Lumpy.option_add"><tt class="xref py py-obj docutils literal"><span class="pre">option_add</span></tt></a>(pattern,&nbsp;value[,&nbsp;priority])</td>
<td>Set a VALUE (second parameter) for an option</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.option_clear" title="scitools.Lumpy.Lumpy.option_clear"><tt class="xref py py-obj docutils literal"><span class="pre">option_clear</span></tt></a>()</td>
<td>Clear the option database.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.option_get" title="scitools.Lumpy.Lumpy.option_get"><tt class="xref py py-obj docutils literal"><span class="pre">option_get</span></tt></a>(name,&nbsp;className)</td>
<td>Return the value for an option NAME for this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.option_readfile" title="scitools.Lumpy.Lumpy.option_readfile"><tt class="xref py py-obj docutils literal"><span class="pre">option_readfile</span></tt></a>(fileName[,&nbsp;priority])</td>
<td>Read file FILENAME into the option database.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.overrideredirect" title="scitools.Lumpy.Lumpy.overrideredirect"><tt class="xref py py-obj docutils literal"><span class="pre">overrideredirect</span></tt></a>([boolean])</td>
<td>Instruct the window manager to ignore this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.pack_propagate" title="scitools.Lumpy.Lumpy.pack_propagate"><tt class="xref py py-obj docutils literal"><span class="pre">pack_propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.pack_slaves" title="scitools.Lumpy.Lumpy.pack_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">pack_slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.place_slaves" title="scitools.Lumpy.Lumpy.place_slaves"><tt class="xref py py-obj docutils literal"><span class="pre">place_slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.popfr" title="scitools.Lumpy.Lumpy.popfr"><tt class="xref py py-obj docutils literal"><span class="pre">popfr</span></tt></a>()</td>
<td>end the current frame (and return it)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.positionfrom" title="scitools.Lumpy.Lumpy.positionfrom"><tt class="xref py py-obj docutils literal"><span class="pre">positionfrom</span></tt></a>([who])</td>
<td>Instruct the window manager that the position of this widget shall</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.propagate" title="scitools.Lumpy.Lumpy.propagate"><tt class="xref py py-obj docutils literal"><span class="pre">propagate</span></tt></a>([flag])</td>
<td>Set or get the status for propagation of geometry information.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.protocol" title="scitools.Lumpy.Lumpy.protocol"><tt class="xref py py-obj docutils literal"><span class="pre">protocol</span></tt></a>([name,&nbsp;func])</td>
<td>Bind function FUNC to command NAME for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.pushfr" title="scitools.Lumpy.Lumpy.pushfr"><tt class="xref py py-obj docutils literal"><span class="pre">pushfr</span></tt></a>(frame)</td>
<td>push a frame onto the frame stack</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.quit" title="scitools.Lumpy.Lumpy.quit"><tt class="xref py py-obj docutils literal"><span class="pre">quit</span></tt></a>()</td>
<td>Quit the Tcl interpreter. All widgets will be destroyed.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.rb" title="scitools.Lumpy.Lumpy.rb"><tt class="xref py py-obj docutils literal"><span class="pre">rb</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a radiobutton</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.readprofile" title="scitools.Lumpy.Lumpy.readprofile"><tt class="xref py py-obj docutils literal"><span class="pre">readprofile</span></tt></a>(baseName,&nbsp;className)</td>
<td>Internal function.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.register" title="scitools.Lumpy.Lumpy.register"><tt class="xref py py-obj docutils literal"><span class="pre">register</span></tt></a>(thing,&nbsp;val)</td>
<td>associate a value with the Thing that represents it,</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.report_callback_exception" title="scitools.Lumpy.Lumpy.report_callback_exception"><tt class="xref py py-obj docutils literal"><span class="pre">report_callback_exception</span></tt></a>(exc,&nbsp;val,&nbsp;tb)</td>
<td>Internal function.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.resizable" title="scitools.Lumpy.Lumpy.resizable"><tt class="xref py py-obj docutils literal"><span class="pre">resizable</span></tt></a>([width,&nbsp;height])</td>
<td>Instruct the window manager whether this width can be resized</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.restrict_class" title="scitools.Lumpy.Lumpy.restrict_class"><tt class="xref py py-obj docutils literal"><span class="pre">restrict_class</span></tt></a>(classobj[,&nbsp;vars])</td>
<td>restrict this class so that when it is drawn, only</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.rowconfigure" title="scitools.Lumpy.Lumpy.rowconfigure"><tt class="xref py py-obj docutils literal"><span class="pre">rowconfigure</span></tt></a>(index[,&nbsp;cnf])</td>
<td>Configure row INDEX of a grid.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.rowweights" title="scitools.Lumpy.Lumpy.rowweights"><tt class="xref py py-obj docutils literal"><span class="pre">rowweights</span></tt></a>(weights)</td>
<td>attach weights to the rows of the current grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.sb" title="scitools.Lumpy.Lumpy.sb"><tt class="xref py py-obj docutils literal"><span class="pre">sb</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a text scrollbar</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.sc" title="scitools.Lumpy.Lumpy.sc"><tt class="xref py py-obj docutils literal"><span class="pre">sc</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a scrollable canvas.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.selection_clear" title="scitools.Lumpy.Lumpy.selection_clear"><tt class="xref py py-obj docutils literal"><span class="pre">selection_clear</span></tt></a>(**kw)</td>
<td>Clear the current X selection.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.selection_get" title="scitools.Lumpy.Lumpy.selection_get"><tt class="xref py py-obj docutils literal"><span class="pre">selection_get</span></tt></a>(**kw)</td>
<td>Return the contents of the current X selection.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.selection_handle" title="scitools.Lumpy.Lumpy.selection_handle"><tt class="xref py py-obj docutils literal"><span class="pre">selection_handle</span></tt></a>(command,&nbsp;**kw)</td>
<td>Specify a function COMMAND to call if the X</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.selection_own" title="scitools.Lumpy.Lumpy.selection_own"><tt class="xref py py-obj docutils literal"><span class="pre">selection_own</span></tt></a>(**kw)</td>
<td>Become owner of X selection.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.selection_own_get" title="scitools.Lumpy.Lumpy.selection_own_get"><tt class="xref py py-obj docutils literal"><span class="pre">selection_own_get</span></tt></a>(**kw)</td>
<td>Return owner of X selection.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.send" title="scitools.Lumpy.Lumpy.send"><tt class="xref py py-obj docutils literal"><span class="pre">send</span></tt></a>(interp,&nbsp;cmd,&nbsp;*args)</td>
<td>Send Tcl command CMD to different interpreter INTERP to be executed.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.setvar" title="scitools.Lumpy.Lumpy.setvar"><tt class="xref py py-obj docutils literal"><span class="pre">setvar</span></tt></a>([name,&nbsp;value])</td>
<td>Set Tcl variable NAME to VALUE.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.size" title="scitools.Lumpy.Lumpy.size"><tt class="xref py py-obj docutils literal"><span class="pre">size</span></tt></a>()</td>
<td>Return a tuple of the number of column and rows in the grid.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.sizefrom" title="scitools.Lumpy.Lumpy.sizefrom"><tt class="xref py py-obj docutils literal"><span class="pre">sizefrom</span></tt></a>([who])</td>
<td>Instruct the window manager that the size of this widget shall</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.slaves" title="scitools.Lumpy.Lumpy.slaves"><tt class="xref py py-obj docutils literal"><span class="pre">slaves</span></tt></a>()</td>
<td>Return a list of all slaves of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.st" title="scitools.Lumpy.Lumpy.st"><tt class="xref py py-obj docutils literal"><span class="pre">st</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a scrollable text entry</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.state" title="scitools.Lumpy.Lumpy.state"><tt class="xref py py-obj docutils literal"><span class="pre">state</span></tt></a>([newstate])</td>
<td>Query or set the state of this widget as one of normal, icon,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.te" title="scitools.Lumpy.Lumpy.te"><tt class="xref py py-obj docutils literal"><span class="pre">te</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a text entry</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.title" title="scitools.Lumpy.Lumpy.title"><tt class="xref py py-obj docutils literal"><span class="pre">title</span></tt></a>([string])</td>
<td>Set the title of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_bisque" title="scitools.Lumpy.Lumpy.tk_bisque"><tt class="xref py py-obj docutils literal"><span class="pre">tk_bisque</span></tt></a>()</td>
<td>Change the color scheme to light brown as used in Tk 3.6 and before.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_focusFollowsMouse" title="scitools.Lumpy.Lumpy.tk_focusFollowsMouse"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusFollowsMouse</span></tt></a>()</td>
<td>The widget under mouse will get automatically focus.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_focusNext" title="scitools.Lumpy.Lumpy.tk_focusNext"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusNext</span></tt></a>()</td>
<td>Return the next widget in the focus order which follows widget which has currently the focus.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_focusPrev" title="scitools.Lumpy.Lumpy.tk_focusPrev"><tt class="xref py py-obj docutils literal"><span class="pre">tk_focusPrev</span></tt></a>()</td>
<td>Return previous widget in the focus order.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_menuBar" title="scitools.Lumpy.Lumpy.tk_menuBar"><tt class="xref py py-obj docutils literal"><span class="pre">tk_menuBar</span></tt></a>(*args)</td>
<td>Do not use.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_setPalette" title="scitools.Lumpy.Lumpy.tk_setPalette"><tt class="xref py py-obj docutils literal"><span class="pre">tk_setPalette</span></tt></a>(*args,&nbsp;**kw)</td>
<td>Set a new color scheme for all widget elements.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tk_strictMotif" title="scitools.Lumpy.Lumpy.tk_strictMotif"><tt class="xref py py-obj docutils literal"><span class="pre">tk_strictMotif</span></tt></a>([boolean])</td>
<td>Set Tcl internal variable, whether the look and feel</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tkraise" title="scitools.Lumpy.Lumpy.tkraise"><tt class="xref py py-obj docutils literal"><span class="pre">tkraise</span></tt></a>([aboveThis])</td>
<td>Raise this widget in the stacking order.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.tl" title="scitools.Lumpy.Lumpy.tl"><tt class="xref py py-obj docutils literal"><span class="pre">tl</span></tt></a>(**options)</td>
<td>make a return a top level window.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.transient" title="scitools.Lumpy.Lumpy.transient"><tt class="xref py py-obj docutils literal"><span class="pre">transient</span></tt></a>([master])</td>
<td>Instruct the window manager that this widget is transient</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.transparent_class" title="scitools.Lumpy.Lumpy.transparent_class"><tt class="xref py py-obj docutils literal"><span class="pre">transparent_class</span></tt></a>(classobj)</td>
<td>remove the given type or class from the dictionary, which</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.unbind" title="scitools.Lumpy.Lumpy.unbind"><tt class="xref py py-obj docutils literal"><span class="pre">unbind</span></tt></a>(sequence[,&nbsp;funcid])</td>
<td>Unbind for this widget for event SEQUENCE  the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.unbind_all" title="scitools.Lumpy.Lumpy.unbind_all"><tt class="xref py py-obj docutils literal"><span class="pre">unbind_all</span></tt></a>(sequence)</td>
<td>Unbind for all widgets for event SEQUENCE all functions.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.unbind_class" title="scitools.Lumpy.Lumpy.unbind_class"><tt class="xref py py-obj docutils literal"><span class="pre">unbind_class</span></tt></a>(className,&nbsp;sequence)</td>
<td>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.update" title="scitools.Lumpy.Lumpy.update"><tt class="xref py py-obj docutils literal"><span class="pre">update</span></tt></a>()</td>
<td>Enter event loop until all pending events have been processed by Tcl.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.update_idletasks" title="scitools.Lumpy.Lumpy.update_idletasks"><tt class="xref py py-obj docutils literal"><span class="pre">update_idletasks</span></tt></a>()</td>
<td>Enter event loop until all idle callbacks have been called.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wait_variable" title="scitools.Lumpy.Lumpy.wait_variable"><tt class="xref py py-obj docutils literal"><span class="pre">wait_variable</span></tt></a>([name])</td>
<td>Wait until the variable is modified.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wait_visibility" title="scitools.Lumpy.Lumpy.wait_visibility"><tt class="xref py py-obj docutils literal"><span class="pre">wait_visibility</span></tt></a>([window])</td>
<td>Wait until the visibility of a WIDGET changes</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wait_window" title="scitools.Lumpy.Lumpy.wait_window"><tt class="xref py py-obj docutils literal"><span class="pre">wait_window</span></tt></a>([window])</td>
<td>Wait until a WIDGET is destroyed.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.waitvar" title="scitools.Lumpy.Lumpy.waitvar"><tt class="xref py py-obj docutils literal"><span class="pre">waitvar</span></tt></a>([name])</td>
<td>Wait until the variable is modified.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.widget" title="scitools.Lumpy.Lumpy.widget"><tt class="xref py py-obj docutils literal"><span class="pre">widget</span></tt></a>(constructor,&nbsp;*args,&nbsp;**options)</td>
<td>this is the kernel of the widget constructors.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_atom" title="scitools.Lumpy.Lumpy.winfo_atom"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_atom</span></tt></a>(name[,&nbsp;displayof])</td>
<td>Return integer which represents atom NAME.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_atomname" title="scitools.Lumpy.Lumpy.winfo_atomname"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_atomname</span></tt></a>(id[,&nbsp;displayof])</td>
<td>Return name of atom with identifier ID.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_cells" title="scitools.Lumpy.Lumpy.winfo_cells"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_cells</span></tt></a>()</td>
<td>Return number of cells in the colormap for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_children" title="scitools.Lumpy.Lumpy.winfo_children"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_children</span></tt></a>()</td>
<td>Return a list of all widgets which are children of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_class" title="scitools.Lumpy.Lumpy.winfo_class"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_class</span></tt></a>()</td>
<td>Return window class name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_colormapfull" title="scitools.Lumpy.Lumpy.winfo_colormapfull"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_colormapfull</span></tt></a>()</td>
<td>Return true if at the last color request the colormap was full.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_containing" title="scitools.Lumpy.Lumpy.winfo_containing"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_containing</span></tt></a>(rootX,&nbsp;rootY[,&nbsp;displayof])</td>
<td>Return the widget which is at the root coordinates ROOTX, ROOTY.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_depth" title="scitools.Lumpy.Lumpy.winfo_depth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_depth</span></tt></a>()</td>
<td>Return the number of bits per pixel.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_exists" title="scitools.Lumpy.Lumpy.winfo_exists"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_exists</span></tt></a>()</td>
<td>Return true if this widget exists.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_fpixels" title="scitools.Lumpy.Lumpy.winfo_fpixels"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_fpixels</span></tt></a>(number)</td>
<td>Return the number of pixels for the given distance NUMBER</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_geometry" title="scitools.Lumpy.Lumpy.winfo_geometry"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_geometry</span></tt></a>()</td>
<td>Return geometry string for this widget in the form &#8220;widthxheight+X+Y&#8221;.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_height" title="scitools.Lumpy.Lumpy.winfo_height"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_height</span></tt></a>()</td>
<td>Return height of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_id" title="scitools.Lumpy.Lumpy.winfo_id"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_id</span></tt></a>()</td>
<td>Return identifier ID for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_interps" title="scitools.Lumpy.Lumpy.winfo_interps"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_interps</span></tt></a>([displayof])</td>
<td>Return the name of all Tcl interpreters for this display.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_ismapped" title="scitools.Lumpy.Lumpy.winfo_ismapped"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_ismapped</span></tt></a>()</td>
<td>Return true if this widget is mapped.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_manager" title="scitools.Lumpy.Lumpy.winfo_manager"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_manager</span></tt></a>()</td>
<td>Return the window mananger name for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_name" title="scitools.Lumpy.Lumpy.winfo_name"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_name</span></tt></a>()</td>
<td>Return the name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_parent" title="scitools.Lumpy.Lumpy.winfo_parent"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_parent</span></tt></a>()</td>
<td>Return the name of the parent of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_pathname" title="scitools.Lumpy.Lumpy.winfo_pathname"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pathname</span></tt></a>(id[,&nbsp;displayof])</td>
<td>Return the pathname of the widget given by ID.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_pixels" title="scitools.Lumpy.Lumpy.winfo_pixels"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pixels</span></tt></a>(number)</td>
<td>Rounded integer value of winfo_fpixels.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_pointerx" title="scitools.Lumpy.Lumpy.winfo_pointerx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointerx</span></tt></a>()</td>
<td>Return the x coordinate of the pointer on the root window.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_pointerxy" title="scitools.Lumpy.Lumpy.winfo_pointerxy"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointerxy</span></tt></a>()</td>
<td>Return a tuple of x and y coordinates of the pointer on the root window.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_pointery" title="scitools.Lumpy.Lumpy.winfo_pointery"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_pointery</span></tt></a>()</td>
<td>Return the y coordinate of the pointer on the root window.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_reqheight" title="scitools.Lumpy.Lumpy.winfo_reqheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_reqheight</span></tt></a>()</td>
<td>Return requested height of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_reqwidth" title="scitools.Lumpy.Lumpy.winfo_reqwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_reqwidth</span></tt></a>()</td>
<td>Return requested width of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_rgb" title="scitools.Lumpy.Lumpy.winfo_rgb"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rgb</span></tt></a>(color)</td>
<td>Return tuple of decimal values for red, green, blue for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_rootx" title="scitools.Lumpy.Lumpy.winfo_rootx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rootx</span></tt></a>()</td>
<td>Return x coordinate of upper left corner of this widget on the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_rooty" title="scitools.Lumpy.Lumpy.winfo_rooty"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_rooty</span></tt></a>()</td>
<td>Return y coordinate of upper left corner of this widget on the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screen" title="scitools.Lumpy.Lumpy.winfo_screen"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screen</span></tt></a>()</td>
<td>Return the screen name of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screencells" title="scitools.Lumpy.Lumpy.winfo_screencells"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screencells</span></tt></a>()</td>
<td>Return the number of the cells in the colormap of the screen</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screendepth" title="scitools.Lumpy.Lumpy.winfo_screendepth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screendepth</span></tt></a>()</td>
<td>Return the number of bits per pixel of the root window of the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screenheight" title="scitools.Lumpy.Lumpy.winfo_screenheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenheight</span></tt></a>()</td>
<td>Return the number of pixels of the height of the screen of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screenmmheight" title="scitools.Lumpy.Lumpy.winfo_screenmmheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenmmheight</span></tt></a>()</td>
<td>Return the number of pixels of the height of the screen of</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screenmmwidth" title="scitools.Lumpy.Lumpy.winfo_screenmmwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenmmwidth</span></tt></a>()</td>
<td>Return the number of pixels of the width of the screen of</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screenvisual" title="scitools.Lumpy.Lumpy.winfo_screenvisual"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenvisual</span></tt></a>()</td>
<td>Return one of the strings directcolor, grayscale, pseudocolor,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_screenwidth" title="scitools.Lumpy.Lumpy.winfo_screenwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_screenwidth</span></tt></a>()</td>
<td>Return the number of pixels of the width of the screen of</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_server" title="scitools.Lumpy.Lumpy.winfo_server"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_server</span></tt></a>()</td>
<td>Return information of the X-Server of the screen of this widget in</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_toplevel" title="scitools.Lumpy.Lumpy.winfo_toplevel"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_toplevel</span></tt></a>()</td>
<td>Return the toplevel widget of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_viewable" title="scitools.Lumpy.Lumpy.winfo_viewable"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_viewable</span></tt></a>()</td>
<td>Return true if the widget and all its higher ancestors are mapped.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_visual" title="scitools.Lumpy.Lumpy.winfo_visual"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visual</span></tt></a>()</td>
<td>Return one of the strings directcolor, grayscale, pseudocolor,</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_visualid" title="scitools.Lumpy.Lumpy.winfo_visualid"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visualid</span></tt></a>()</td>
<td>Return the X identifier for the visual for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_visualsavailable" title="scitools.Lumpy.Lumpy.winfo_visualsavailable"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_visualsavailable</span></tt></a>([includeids])</td>
<td>Return a list of all visuals available for the screen of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_vrootheight" title="scitools.Lumpy.Lumpy.winfo_vrootheight"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootheight</span></tt></a>()</td>
<td>Return the height of the virtual root window associated with this widget in pixels.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_vrootwidth" title="scitools.Lumpy.Lumpy.winfo_vrootwidth"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootwidth</span></tt></a>()</td>
<td>Return the width of the virtual root window associated with this widget in pixel.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_vrootx" title="scitools.Lumpy.Lumpy.winfo_vrootx"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrootx</span></tt></a>()</td>
<td>Return the x offset of the virtual root relative to the root</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_vrooty" title="scitools.Lumpy.Lumpy.winfo_vrooty"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_vrooty</span></tt></a>()</td>
<td>Return the y offset of the virtual root relative to the root</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_width" title="scitools.Lumpy.Lumpy.winfo_width"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_width</span></tt></a>()</td>
<td>Return the width of this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_x" title="scitools.Lumpy.Lumpy.winfo_x"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_x</span></tt></a>()</td>
<td>Return the x coordinate of the upper left corner of this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.winfo_y" title="scitools.Lumpy.Lumpy.winfo_y"><tt class="xref py py-obj docutils literal"><span class="pre">winfo_y</span></tt></a>()</td>
<td>Return the y coordinate of the upper left corner of this widget</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.withdraw" title="scitools.Lumpy.Lumpy.withdraw"><tt class="xref py py-obj docutils literal"><span class="pre">withdraw</span></tt></a>()</td>
<td>Withdraw this widget from the screen such that it is unmapped and forgotten by the window manager.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_aspect" title="scitools.Lumpy.Lumpy.wm_aspect"><tt class="xref py py-obj docutils literal"><span class="pre">wm_aspect</span></tt></a>([minNumer,&nbsp;minDenom,&nbsp;maxNumer,&nbsp;...])</td>
<td>Instruct the window manager to set the aspect ratio (width/height)</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_attributes" title="scitools.Lumpy.Lumpy.wm_attributes"><tt class="xref py py-obj docutils literal"><span class="pre">wm_attributes</span></tt></a>(*args)</td>
<td>This subcommand returns or sets platform specific attributes</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_client" title="scitools.Lumpy.Lumpy.wm_client"><tt class="xref py py-obj docutils literal"><span class="pre">wm_client</span></tt></a>([name])</td>
<td>Store NAME in WM_CLIENT_MACHINE property of this widget. Return</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_colormapwindows" title="scitools.Lumpy.Lumpy.wm_colormapwindows"><tt class="xref py py-obj docutils literal"><span class="pre">wm_colormapwindows</span></tt></a>(*wlist)</td>
<td>Store list of window names (WLIST) into WM_COLORMAPWINDOWS property</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_command" title="scitools.Lumpy.Lumpy.wm_command"><tt class="xref py py-obj docutils literal"><span class="pre">wm_command</span></tt></a>([value])</td>
<td>Store VALUE in WM_COMMAND property. It is the command</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_deiconify" title="scitools.Lumpy.Lumpy.wm_deiconify"><tt class="xref py py-obj docutils literal"><span class="pre">wm_deiconify</span></tt></a>()</td>
<td>Deiconify this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_focusmodel" title="scitools.Lumpy.Lumpy.wm_focusmodel"><tt class="xref py py-obj docutils literal"><span class="pre">wm_focusmodel</span></tt></a>([model])</td>
<td>Set focus model to MODEL. &#8220;active&#8221; means that this widget will claim</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_frame" title="scitools.Lumpy.Lumpy.wm_frame"><tt class="xref py py-obj docutils literal"><span class="pre">wm_frame</span></tt></a>()</td>
<td>Return identifier for decorative frame of this widget if present.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_geometry" title="scitools.Lumpy.Lumpy.wm_geometry"><tt class="xref py py-obj docutils literal"><span class="pre">wm_geometry</span></tt></a>([newGeometry])</td>
<td>Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_grid" title="scitools.Lumpy.Lumpy.wm_grid"><tt class="xref py py-obj docutils literal"><span class="pre">wm_grid</span></tt></a>([baseWidth,&nbsp;baseHeight,&nbsp;widthInc,&nbsp;...])</td>
<td>Instruct the window manager that this widget shall only be resized on grid boundaries.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_group" title="scitools.Lumpy.Lumpy.wm_group"><tt class="xref py py-obj docutils literal"><span class="pre">wm_group</span></tt></a>([pathName])</td>
<td>Set the group leader widgets for related widgets to PATHNAME. Return</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconbitmap" title="scitools.Lumpy.Lumpy.wm_iconbitmap"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconbitmap</span></tt></a>([bitmap,&nbsp;default])</td>
<td>Set bitmap for the iconified widget to BITMAP. Return</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconify" title="scitools.Lumpy.Lumpy.wm_iconify"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconify</span></tt></a>()</td>
<td>Display widget as icon.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconmask" title="scitools.Lumpy.Lumpy.wm_iconmask"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconmask</span></tt></a>([bitmap])</td>
<td>Set mask for the icon bitmap of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconname" title="scitools.Lumpy.Lumpy.wm_iconname"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconname</span></tt></a>([newName])</td>
<td>Set the name of the icon for this widget.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconposition" title="scitools.Lumpy.Lumpy.wm_iconposition"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconposition</span></tt></a>([x,&nbsp;y])</td>
<td>Set the position of the icon of this widget to X and Y. Return</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_iconwindow" title="scitools.Lumpy.Lumpy.wm_iconwindow"><tt class="xref py py-obj docutils literal"><span class="pre">wm_iconwindow</span></tt></a>([pathName])</td>
<td>Set widget PATHNAME to be displayed instead of icon. Return the current</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_maxsize" title="scitools.Lumpy.Lumpy.wm_maxsize"><tt class="xref py py-obj docutils literal"><span class="pre">wm_maxsize</span></tt></a>([width,&nbsp;height])</td>
<td>Set max WIDTH and HEIGHT for this widget. If the window is gridded</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_minsize" title="scitools.Lumpy.Lumpy.wm_minsize"><tt class="xref py py-obj docutils literal"><span class="pre">wm_minsize</span></tt></a>([width,&nbsp;height])</td>
<td>Set min WIDTH and HEIGHT for this widget. If the window is gridded</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_overrideredirect" title="scitools.Lumpy.Lumpy.wm_overrideredirect"><tt class="xref py py-obj docutils literal"><span class="pre">wm_overrideredirect</span></tt></a>([boolean])</td>
<td>Instruct the window manager to ignore this widget</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_positionfrom" title="scitools.Lumpy.Lumpy.wm_positionfrom"><tt class="xref py py-obj docutils literal"><span class="pre">wm_positionfrom</span></tt></a>([who])</td>
<td>Instruct the window manager that the position of this widget shall</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_protocol" title="scitools.Lumpy.Lumpy.wm_protocol"><tt class="xref py py-obj docutils literal"><span class="pre">wm_protocol</span></tt></a>([name,&nbsp;func])</td>
<td>Bind function FUNC to command NAME for this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_resizable" title="scitools.Lumpy.Lumpy.wm_resizable"><tt class="xref py py-obj docutils literal"><span class="pre">wm_resizable</span></tt></a>([width,&nbsp;height])</td>
<td>Instruct the window manager whether this width can be resized</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_sizefrom" title="scitools.Lumpy.Lumpy.wm_sizefrom"><tt class="xref py py-obj docutils literal"><span class="pre">wm_sizefrom</span></tt></a>([who])</td>
<td>Instruct the window manager that the size of this widget shall</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_state" title="scitools.Lumpy.Lumpy.wm_state"><tt class="xref py py-obj docutils literal"><span class="pre">wm_state</span></tt></a>([newstate])</td>
<td>Query or set the state of this widget as one of normal, icon,</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_title" title="scitools.Lumpy.Lumpy.wm_title"><tt class="xref py py-obj docutils literal"><span class="pre">wm_title</span></tt></a>([string])</td>
<td>Set the title of this widget.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_transient" title="scitools.Lumpy.Lumpy.wm_transient"><tt class="xref py py-obj docutils literal"><span class="pre">wm_transient</span></tt></a>([master])</td>
<td>Instruct the window manager that this widget is transient</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Lumpy.wm_withdraw" title="scitools.Lumpy.Lumpy.wm_withdraw"><tt class="xref py py-obj docutils literal"><span class="pre">wm_withdraw</span></tt></a>()</td>
<td>Withdraw this widget from the screen such that it is unmapped and forgotten by the window manager.</td>
</tr>
</tbody>
</table>
<dl class="class">
<dt id="scitools.Lumpy.Lumpy.ScrollableCanvas">
<em class="property">class </em><tt class="descname">ScrollableCanvas</tt><big>(</big><em>gui</em>, <em>width=200</em>, <em>height=200</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableCanvas" title="Permalink to this definition">¶</a></dt>
<dd><p>a compound widget with a grid that contains a canvas
and two scrollbars</p>
<dl class="method">
<dt id="scitools.Lumpy.Lumpy.ScrollableCanvas.__init__">
<tt class="descname">__init__</tt><big>(</big><em>gui</em>, <em>width=200</em>, <em>height=200</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableCanvas.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.ScrollableCanvas.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools._Gui'</em><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableCanvas.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Lumpy.ScrollableText">
<em class="property">class </em><tt class="descclassname">Lumpy.</tt><tt class="descname">ScrollableText</tt><big>(</big><em>gui</em>, <em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableText" title="Permalink to this definition">¶</a></dt>
<dd><p>a scrollable text entry is a
compound widget with a frame that contains a
text entry on the left and a scrollbar on the right.</p>
<dl class="method">
<dt id="scitools.Lumpy.Lumpy.ScrollableText.__init__">
<tt class="descname">__init__</tt><big>(</big><em>gui</em>, <em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableText.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.ScrollableText.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools._Gui'</em><a class="headerlink" href="#scitools.Lumpy.Lumpy.ScrollableText.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__contains__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__contains__</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.__contains__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__getattr__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__getattr__</tt><big>(</big><em>attr</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.__getattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>Delegate attribute access to the interpreter object</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__getitem__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__getitem__</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.__getitem__" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the resource value for a KEY given as string.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__init__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__init__</tt><big>(</big><em>debug=False</em>, <em>pedantic=False</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>debug is passed to Gui.__init__; it makes the outlines
of the frames visible.
If pedantic is false, simple values are replicated, rather
than, for example, having all references to 1 refer to the
same int object.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.__module__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Lumpy.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__setitem__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__setitem__</tt><big>(</big><em>key</em>, <em>value</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.__setitem__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.__str__">
<tt class="descclassname">Lumpy.</tt><tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.__str__" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the window path name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.after">
<tt class="descclassname">Lumpy.</tt><tt class="descname">after</tt><big>(</big><em>ms</em>, <em>func=None</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.after" title="Permalink to this definition">¶</a></dt>
<dd><p>Call function once after given time.</p>
<p>MS specifies the time in milliseconds. FUNC gives the
function which shall be called. Additional parameters
are given as parameters to the function call.  Return
identifier to cancel scheduling with after_cancel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.after_cancel">
<tt class="descclassname">Lumpy.</tt><tt class="descname">after_cancel</tt><big>(</big><em>id</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.after_cancel" title="Permalink to this definition">¶</a></dt>
<dd><p>Cancel scheduling of function identified with ID.</p>
<p>Identifier returned by after or after_idle must be
given as first parameter.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.after_idle">
<tt class="descclassname">Lumpy.</tt><tt class="descname">after_idle</tt><big>(</big><em>func</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.after_idle" title="Permalink to this definition">¶</a></dt>
<dd><p>Call FUNC once if the Tcl main loop has no event to
process.</p>
<p>Return an identifier to cancel the scheduling with
after_cancel.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.argnames">
<tt class="descclassname">Lumpy.</tt><tt class="descname">argnames</tt><em class="property"> = ['side', 'fill', 'expand', 'anchor']</em><a class="headerlink" href="#scitools.Lumpy.Lumpy.argnames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.aspect">
<tt class="descclassname">Lumpy.</tt><tt class="descname">aspect</tt><big>(</big><em>minNumer=None</em>, <em>minDenom=None</em>, <em>maxNumer=None</em>, <em>maxDenom=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.aspect" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager to set the aspect ratio (width/height)
of this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. Return a tuple
of the actual values if no argument is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.attributes">
<tt class="descclassname">Lumpy.</tt><tt class="descname">attributes</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.attributes" title="Permalink to this definition">¶</a></dt>
<dd><p>This subcommand returns or sets platform specific attributes</p>
<p>The first form returns a list of the platform specific flags and
their values. The second form returns the value for the specific
option. The third form sets one or more of the values. The values
are as follows:</p>
<p>On Windows, -disabled gets or sets whether the window is in a
disabled state. -toolwindow gets or sets the style of the window
to toolwindow (as defined in the MSDN). -topmost gets or sets
whether this is a topmost window (displays above all other
windows).</p>
<p>On Macintosh, XXXXX</p>
<p>On Unix, there are currently no special attribute values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bbox">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bbox</tt><big>(</big><em>column=None</em>, <em>row=None</em>, <em>col2=None</em>, <em>row2=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of integer coordinates for the bounding
box of this widget controlled by the geometry manager grid.</p>
<p>If COLUMN, ROW is given the bounding box applies from
the cell with row and column 0 to the specified
cell. If COL2 and ROW2 are given the bounding box
starts at that cell.</p>
<p>The returned integers specify the offset of the upper left
corner in the master widget and the width and height.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bell">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bell</tt><big>(</big><em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bell" title="Permalink to this definition">¶</a></dt>
<dd><p>Ring a display&#8217;s bell.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bind">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bind</tt><big>(</big><em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to this widget at event SEQUENCE a call to function FUNC.</p>
<p>SEQUENCE is a string of concatenated event
patterns. An event pattern is of the form
&lt;MODIFIER-MODIFIER-TYPE-DETAIL&gt; where MODIFIER is one
of Control, Mod2, M2, Shift, Mod3, M3, Lock, Mod4, M4,
Button1, B1, Mod5, M5 Button2, B2, Meta, M, Button3,
B3, Alt, Button4, B4, Double, Button5, B5 Triple,
Mod1, M1. TYPE is one of Activate, Enter, Map,
ButtonPress, Button, Expose, Motion, ButtonRelease
FocusIn, MouseWheel, Circulate, FocusOut, Property,
Colormap, Gravity Reparent, Configure, KeyPress, Key,
Unmap, Deactivate, KeyRelease Visibility, Destroy,
Leave and DETAIL is the button number for ButtonPress,
ButtonRelease and DETAIL is the Keysym for KeyPress and
KeyRelease. Examples are
&lt;Control-Button-1&gt; for pressing Control and mouse button 1 or
&lt;Alt-A&gt; for pressing A and the Alt key (KeyPress can be omitted).
An event pattern can also be a virtual event of the form
&lt;&lt;AString&gt;&gt; where AString can be arbitrary. This
event can be generated by event_generate.
If events are concatenated they must appear shortly
after each other.</p>
<p>FUNC will be called if the event sequence occurs with an
instance of Event as argument. If the return value of FUNC is
&#8220;break&#8221; no further bound function is invoked.</p>
<p>An additional boolean parameter ADD specifies whether FUNC will
be called additionally to the other bound function or whether
it will replace the previous function.</p>
<p>Bind will return an identifier to allow deletion of the bound function with
unbind without memory leak.</p>
<p>If FUNC or SEQUENCE is omitted the bound function or list
of bound events are returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bind_all">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bind_all</tt><big>(</big><em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bind_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to all widgets at an event SEQUENCE a call to function FUNC.
An additional boolean parameter ADD specifies whether FUNC will
be called additionally to the other bound function or whether
it will replace the previous function. See bind for the return value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bind_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bind_class</tt><big>(</big><em>className</em>, <em>sequence=None</em>, <em>func=None</em>, <em>add=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bind_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind to widgets with bindtag CLASSNAME at event
SEQUENCE a call of function FUNC. An additional
boolean parameter ADD specifies whether FUNC will be
called additionally to the other bound function or
whether it will replace the previous function. See bind for
the return value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bindtags">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bindtags</tt><big>(</big><em>tagList=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bindtags" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the list of bindtags for this widget.</p>
<p>With no argument return the list of all bindtags associated with
this widget. With a list of strings as argument the bindtags are
set to this list. The bindtags determine in which order events are
processed (see bind).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.bu">
<tt class="descclassname">Lumpy.</tt><tt class="descname">bu</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.bu" title="Permalink to this definition">¶</a></dt>
<dd><p>make a button</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.ca">
<tt class="descclassname">Lumpy.</tt><tt class="descname">ca</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.ca" title="Permalink to this definition">¶</a></dt>
<dd><p>make a canvas widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.cb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">cb</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.cb" title="Permalink to this definition">¶</a></dt>
<dd><p>make a checkbutton.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.cget">
<tt class="descclassname">Lumpy.</tt><tt class="descname">cget</tt><big>(</big><em>key</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.cget" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the resource value for a KEY given as string.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.class_diagram">
<tt class="descclassname">Lumpy.</tt><tt class="descname">class_diagram</tt><big>(</big><em>classes=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.class_diagram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.class_diagram" title="Permalink to this definition">¶</a></dt>
<dd><p>create a new object diagram based on the current state.
If a list of classes is provided, only those classes are
shown.  Otherwise, all classes that Lumpy know about are shown.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.client">
<tt class="descclassname">Lumpy.</tt><tt class="descname">client</tt><big>(</big><em>name=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.client" title="Permalink to this definition">¶</a></dt>
<dd><p>Store NAME in WM_CLIENT_MACHINE property of this widget. Return
current value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.clipboard_append">
<tt class="descclassname">Lumpy.</tt><tt class="descname">clipboard_append</tt><big>(</big><em>string</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.clipboard_append" title="Permalink to this definition">¶</a></dt>
<dd><p>Append STRING to the Tk clipboard.</p>
<p>A widget specified at the optional displayof keyword
argument specifies the target display. The clipboard
can be retrieved with selection_get.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.clipboard_clear">
<tt class="descclassname">Lumpy.</tt><tt class="descname">clipboard_clear</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.clipboard_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the data in the Tk clipboard.</p>
<p>A widget specified for the optional displayof keyword
argument specifies the target display.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.clipboard_get">
<tt class="descclassname">Lumpy.</tt><tt class="descname">clipboard_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.clipboard_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve data from the clipboard on window&#8217;s display.</p>
<p>The window keyword defaults to the root window of the Tkinter
application.</p>
<p>The type keyword specifies the form in which the data is
to be returned and should be an atom name such as STRING
or FILE_NAME.  Type defaults to STRING.</p>
<p>This command is equivalent to:</p>
<p>selection_get(CLIPBOARD)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.colormapwindows">
<tt class="descclassname">Lumpy.</tt><tt class="descname">colormapwindows</tt><big>(</big><em>*wlist</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.colormapwindows" title="Permalink to this definition">¶</a></dt>
<dd><p>Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
of this widget. This list contains windows whose colormaps differ from their
parents. Return current list of widgets if WLIST is empty.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.colormodel">
<tt class="descclassname">Lumpy.</tt><tt class="descname">colormodel</tt><big>(</big><em>value=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.colormodel" title="Permalink to this definition">¶</a></dt>
<dd><p>Useless. Not implemented in Tk.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.columnconfigure">
<tt class="descclassname">Lumpy.</tt><tt class="descname">columnconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.columnconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure column INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the column),
weight (how much does additional space propagate to this column)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.colweights">
<tt class="descclassname">Lumpy.</tt><tt class="descname">colweights</tt><big>(</big><em>weights</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.colweights" title="Permalink to this definition">¶</a></dt>
<dd><p>attach weights to the columns of the current grid.
These weights control how the columns in the grid expand
when the grid expands.  The default weight is 0, which
means that the column doesn&#8217;t expand.  If only one
column has a value, it gets all the extra space.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.command">
<tt class="descclassname">Lumpy.</tt><tt class="descname">command</tt><big>(</big><em>value=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.command" title="Permalink to this definition">¶</a></dt>
<dd><p>Store VALUE in WM_COMMAND property. It is the command
which shall be used to invoke the application. Return current
command if VALUE is None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.config">
<tt class="descclassname">Lumpy.</tt><tt class="descname">config</tt><big>(</big><em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.config" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of a widget.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method keys.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.configure">
<tt class="descclassname">Lumpy.</tt><tt class="descname">configure</tt><big>(</big><em>cnf=None</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.configure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure resources of a widget.</p>
<p>The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method keys.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.deiconify">
<tt class="descclassname">Lumpy.</tt><tt class="descname">deiconify</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.deiconify" title="Permalink to this definition">¶</a></dt>
<dd><p>Deiconify this widget. If it was never mapped it will not be mapped.
On Windows it will raise this widget and give it the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.deletecommand">
<tt class="descclassname">Lumpy.</tt><tt class="descname">deletecommand</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.deletecommand" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function.</p>
<p>Delete the Tcl command provided in NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.destroy">
<tt class="descclassname">Lumpy.</tt><tt class="descname">destroy</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.destroy" title="Permalink to this definition">¶</a></dt>
<dd><p>Destroy this and all descendants widgets. This will
end the application of this Tcl interpreter.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.en">
<tt class="descclassname">Lumpy.</tt><tt class="descname">en</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.en" title="Permalink to this definition">¶</a></dt>
<dd><p>make an entry widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.endfr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">endfr</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.endfr" title="Permalink to this definition">¶</a></dt>
<dd><p>end the current frame (and return it)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.endgr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">endgr</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.endgr" title="Permalink to this definition">¶</a></dt>
<dd><p>end the current frame (and return it)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.event_add">
<tt class="descclassname">Lumpy.</tt><tt class="descname">event_add</tt><big>(</big><em>virtual</em>, <em>*sequences</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.event_add" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind a virtual event VIRTUAL (of the form &lt;&lt;Name&gt;&gt;)
to an event SEQUENCE such that the virtual event is triggered
whenever SEQUENCE occurs.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.event_delete">
<tt class="descclassname">Lumpy.</tt><tt class="descname">event_delete</tt><big>(</big><em>virtual</em>, <em>*sequences</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.event_delete" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind a virtual event VIRTUAL from SEQUENCE.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.event_generate">
<tt class="descclassname">Lumpy.</tt><tt class="descname">event_generate</tt><big>(</big><em>sequence</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.event_generate" title="Permalink to this definition">¶</a></dt>
<dd><p>Generate an event SEQUENCE. Additional
keyword arguments specify parameter of the event
(e.g. x, y, rootx, rooty).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.event_info">
<tt class="descclassname">Lumpy.</tt><tt class="descname">event_info</tt><big>(</big><em>virtual=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.event_info" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all virtual events or the information
about the SEQUENCE bound to the virtual event VIRTUAL.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus" title="Permalink to this definition">¶</a></dt>
<dd><p>Direct input focus to this widget.</p>
<p>If the application currently does not have the focus
this widget will get the focus if the application gets
the focus through the window manager.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus_displayof">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus_displayof</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus_displayof" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which has currently the focus on the
display where this widget is located.</p>
<p>Return None if the application does not have the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus_force">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus_force</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus_force" title="Permalink to this definition">¶</a></dt>
<dd><p>Direct input focus to this widget even if the
application does not have the focus. Use with
caution!</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus_get">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus_get</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which has currently the focus in the
application.</p>
<p>Use focus_displayof to allow working with several
displays. Return None if application does not have
the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus_lastfor">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus_lastfor</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus_lastfor" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which would have the focus if top level
for this widget gets the focus from the window manager.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focus_set">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focus_set</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focus_set" title="Permalink to this definition">¶</a></dt>
<dd><p>Direct input focus to this widget.</p>
<p>If the application currently does not have the focus
this widget will get the focus if the application gets
the focus through the window manager.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.focusmodel">
<tt class="descclassname">Lumpy.</tt><tt class="descname">focusmodel</tt><big>(</big><em>model=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.focusmodel" title="Permalink to this definition">¶</a></dt>
<dd><p>Set focus model to MODEL. &#8220;active&#8221; means that this widget will claim
the focus itself, &#8220;passive&#8221; means that the window manager shall give
the focus. Return current focus model if MODEL is None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.fr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">fr</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.fr" title="Permalink to this definition">¶</a></dt>
<dd><p>make a return a frame.
As a side effect, the new frame becomes the current frame</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.frame">
<tt class="descclassname">Lumpy.</tt><tt class="descname">frame</tt><a class="headerlink" href="#scitools.Lumpy.Lumpy.frame" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.geometry">
<tt class="descclassname">Lumpy.</tt><tt class="descname">geometry</tt><big>(</big><em>newGeometry=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.geometry" title="Permalink to this definition">¶</a></dt>
<dd><p>Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
current value if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.get_class_list">
<tt class="descclassname">Lumpy.</tt><tt class="descname">get_class_list</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.get_class_list"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.get_class_list" title="Permalink to this definition">¶</a></dt>
<dd><p>return the list of classes that should be drawn in
a class diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.getboolean">
<tt class="descclassname">Lumpy.</tt><tt class="descname">getboolean</tt><big>(</big><em>s</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.getboolean" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a boolean value for Tcl boolean values true and false given as parameter.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.getdouble">
<tt class="descclassname">Lumpy.</tt><tt class="descname">getdouble</tt><a class="headerlink" href="#scitools.Lumpy.Lumpy.getdouble" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">float</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Lumpy.getint">
<tt class="descclassname">Lumpy.</tt><tt class="descname">getint</tt><a class="headerlink" href="#scitools.Lumpy.Lumpy.getint" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">int</span></tt></p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.getvar">
<tt class="descclassname">Lumpy.</tt><tt class="descname">getvar</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.getvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Return value of Tcl variable NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.gr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">gr</tt><big>(</big><em>cols, cweights=[1], rweights=[1], **options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.gr" title="Permalink to this definition">¶</a></dt>
<dd><p>create a frame and switch to grid mode.
cols is the number of columns in the grid (no need to
specify the number of rows).  cweight and rweight control
how the widgets expand if the frame expands (see colweights
and rowweights below).  options are passed along to the frame</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grab_current">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grab_current</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grab_current" title="Permalink to this definition">¶</a></dt>
<dd><p>Return widget which has currently the grab in this application
or None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grab_release">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grab_release</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grab_release" title="Permalink to this definition">¶</a></dt>
<dd><p>Release grab for this widget if currently set.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grab_set">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grab_set</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grab_set" title="Permalink to this definition">¶</a></dt>
<dd><p>Set grab for this widget.</p>
<p>A grab directs all events to this and descendant
widgets in the application.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grab_set_global">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grab_set_global</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grab_set_global" title="Permalink to this definition">¶</a></dt>
<dd><p>Set global grab for this widget.</p>
<p>A global grab directs all events to this and
descendant widgets on the display. Use with caution -
other applications do not get events anymore.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grab_status">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grab_status</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grab_status" title="Permalink to this definition">¶</a></dt>
<dd><p>Return None, &#8220;local&#8221; or &#8220;global&#8221; if this widget has
no, a local or a global grab.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid</tt><big>(</big><em>widget</em>, <em>i=None</em>, <em>j=None</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid" title="Permalink to this definition">¶</a></dt>
<dd><p>pack the given widget in the current grid.
By default, the widget is packed in the next available
space, but parameters i and j can override.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_bbox">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_bbox</tt><big>(</big><em>column=None</em>, <em>row=None</em>, <em>col2=None</em>, <em>row2=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of integer coordinates for the bounding
box of this widget controlled by the geometry manager grid.</p>
<p>If COLUMN, ROW is given the bounding box applies from
the cell with row and column 0 to the specified
cell. If COL2 and ROW2 are given the bounding box
starts at that cell.</p>
<p>The returned integers specify the offset of the upper left
corner in the master widget and the width and height.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_columnconfigure">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_columnconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_columnconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure column INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the column),
weight (how much does additional space propagate to this column)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_location">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_location</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_location" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of column and row which identify the cell
at which the pixel at position X and Y inside the master
widget is located.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_propagate">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given, the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_rowconfigure">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_rowconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_rowconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure row INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the row),
weight (how much does additional space propagate to this row)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_size">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_size</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of the number of column and rows in the grid.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.grid_slaves">
<tt class="descclassname">Lumpy.</tt><tt class="descname">grid_slaves</tt><big>(</big><em>row=None</em>, <em>column=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.grid_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.group">
<tt class="descclassname">Lumpy.</tt><tt class="descname">group</tt><big>(</big><em>pathName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.group" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the group leader widgets for related widgets to PATHNAME. Return
the group leader of this widget if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconbitmap">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconbitmap</tt><big>(</big><em>bitmap=None</em>, <em>default=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconbitmap" title="Permalink to this definition">¶</a></dt>
<dd><p>Set bitmap for the iconified widget to BITMAP. Return
the bitmap if None is given.</p>
<p>Under Windows, the DEFAULT parameter can be used to set the icon
for the widget and any descendents that don&#8217;t have an icon set
explicitly.  DEFAULT can be the relative path to a .ico file
(example: root.iconbitmap(default=&#8217;myicon.ico&#8217;) ).  See Tk
documentation for more information.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconify">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconify</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconify" title="Permalink to this definition">¶</a></dt>
<dd><p>Display widget as icon.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconmask">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconmask</tt><big>(</big><em>bitmap=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconmask" title="Permalink to this definition">¶</a></dt>
<dd><p>Set mask for the icon bitmap of this widget. Return the
mask if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconname">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconname</tt><big>(</big><em>newName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconname" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name of the icon for this widget. Return the name if
None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconposition">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconposition</tt><big>(</big><em>x=None</em>, <em>y=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconposition" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the position of the icon of this widget to X and Y. Return
a tuple of the current values of X and X if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.iconwindow">
<tt class="descclassname">Lumpy.</tt><tt class="descname">iconwindow</tt><big>(</big><em>pathName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.iconwindow" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget PATHNAME to be displayed instead of icon. Return the current
value if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.image_names">
<tt class="descclassname">Lumpy.</tt><tt class="descname">image_names</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.image_names" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all existing image names.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.image_types">
<tt class="descclassname">Lumpy.</tt><tt class="descname">image_types</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.image_types" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all available image types (e.g. phote bitmap).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.is_opaque">
<tt class="descclassname">Lumpy.</tt><tt class="descname">is_opaque</tt><big>(</big><em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.is_opaque"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.is_opaque" title="Permalink to this definition">¶</a></dt>
<dd><p>check whether this class is completely opaque
(restricted to _no_ instance variables)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.keys">
<tt class="descclassname">Lumpy.</tt><tt class="descname">keys</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.keys" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all resource names of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.la">
<tt class="descclassname">Lumpy.</tt><tt class="descname">la</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.la" title="Permalink to this definition">¶</a></dt>
<dd><p>make a label widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.lb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">lb</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.lb" title="Permalink to this definition">¶</a></dt>
<dd><p>make a listbox.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.lift">
<tt class="descclassname">Lumpy.</tt><tt class="descname">lift</tt><big>(</big><em>aboveThis=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.lift" title="Permalink to this definition">¶</a></dt>
<dd><p>Raise this widget in the stacking order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.loadtk">
<tt class="descclassname">Lumpy.</tt><tt class="descname">loadtk</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.loadtk" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.lookup">
<tt class="descclassname">Lumpy.</tt><tt class="descname">lookup</tt><big>(</big><em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.lookup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.lookup" title="Permalink to this definition">¶</a></dt>
<dd><p>check to see whether the given value is already represented
by a Thing, and if so, return it.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.lower">
<tt class="descclassname">Lumpy.</tt><tt class="descname">lower</tt><big>(</big><em>belowThis=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.lower" title="Permalink to this definition">¶</a></dt>
<dd><p>Lower this widget in the stacking order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.mainloop">
<tt class="descclassname">Lumpy.</tt><tt class="descname">mainloop</tt><big>(</big><em>n=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.mainloop" title="Permalink to this definition">¶</a></dt>
<dd><p>Call the mainloop of Tk.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.make_reference">
<tt class="descclassname">Lumpy.</tt><tt class="descname">make_reference</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.make_reference"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.make_reference" title="Permalink to this definition">¶</a></dt>
<dd><p>make a reference point by taking a snapshot of the current
state.  Subsequent diagrams will be relative to this reference.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.make_reference2">
<tt class="descclassname">Lumpy.</tt><tt class="descname">make_reference2</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.make_reference2"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.make_reference2" title="Permalink to this definition">¶</a></dt>
<dd><p>this extra method call is here so that the reference
and the snapshot we take later have the same number of
frames on the stack.  UGH.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.make_stack">
<tt class="descclassname">Lumpy.</tt><tt class="descname">make_stack</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.make_stack"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.make_stack" title="Permalink to this definition">¶</a></dt>
<dd><p>take a snapshot of the current state, subtract away the
frames and variables that existed in the previous reference,
then make a Stack.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.maxsize">
<tt class="descclassname">Lumpy.</tt><tt class="descname">maxsize</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.maxsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Set max WIDTH and HEIGHT for this widget. If the window is gridded
the values are given in grid units. Return the current values if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.mb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">mb</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.mb" title="Permalink to this definition">¶</a></dt>
<dd><p>make a menubutton</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.mi">
<tt class="descclassname">Lumpy.</tt><tt class="descname">mi</tt><big>(</big><em>mb</em>, <em>label=''</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.mi" title="Permalink to this definition">¶</a></dt>
<dd><p>make a menu item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.minsize">
<tt class="descclassname">Lumpy.</tt><tt class="descname">minsize</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.minsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Set min WIDTH and HEIGHT for this widget. If the window is gridded
the values are given in grid units. Return the current values if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.nametowidget">
<tt class="descclassname">Lumpy.</tt><tt class="descname">nametowidget</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.nametowidget" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the Tkinter instance of a widget identified by
its Tcl name NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.object_diagram">
<tt class="descclassname">Lumpy.</tt><tt class="descname">object_diagram</tt><big>(</big><em>obj=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.object_diagram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.object_diagram" title="Permalink to this definition">¶</a></dt>
<dd><p>create a new object diagram based on the current state.
If an object is provided, draw the object.  Otherwise, draw
the current run-time stack (relative to the last reference).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.opaque_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">opaque_class</tt><big>(</big><em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.opaque_class"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.opaque_class" title="Permalink to this definition">¶</a></dt>
<dd><p>restrict this class to no variables</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.opaque_module">
<tt class="descclassname">Lumpy.</tt><tt class="descname">opaque_module</tt><big>(</big><em>modobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.opaque_module"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.opaque_module" title="Permalink to this definition">¶</a></dt>
<dd><p>make all classes defined in this module opaque</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.option_add">
<tt class="descclassname">Lumpy.</tt><tt class="descname">option_add</tt><big>(</big><em>pattern</em>, <em>value</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.option_add" title="Permalink to this definition">¶</a></dt>
<dd><p>Set a VALUE (second parameter) for an option
PATTERN (first parameter).</p>
<p>An optional third parameter gives the numeric priority
(defaults to 80).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.option_clear">
<tt class="descclassname">Lumpy.</tt><tt class="descname">option_clear</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.option_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the option database.</p>
<p>It will be reloaded if option_add is called.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.option_get">
<tt class="descclassname">Lumpy.</tt><tt class="descname">option_get</tt><big>(</big><em>name</em>, <em>className</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.option_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the value for an option NAME for this widget
with CLASSNAME.</p>
<p>Values with higher priority override lower values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.option_readfile">
<tt class="descclassname">Lumpy.</tt><tt class="descname">option_readfile</tt><big>(</big><em>fileName</em>, <em>priority=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.option_readfile" title="Permalink to this definition">¶</a></dt>
<dd><p>Read file FILENAME into the option database.</p>
<p>An optional second parameter gives the numeric
priority.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.overrideredirect">
<tt class="descclassname">Lumpy.</tt><tt class="descname">overrideredirect</tt><big>(</big><em>boolean=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.overrideredirect" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager to ignore this widget
if BOOLEAN is given with 1. Return the current value if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.pack_propagate">
<tt class="descclassname">Lumpy.</tt><tt class="descname">pack_propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.pack_propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.pack_slaves">
<tt class="descclassname">Lumpy.</tt><tt class="descname">pack_slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.pack_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.place_slaves">
<tt class="descclassname">Lumpy.</tt><tt class="descname">place_slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.place_slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.popfr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">popfr</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.popfr" title="Permalink to this definition">¶</a></dt>
<dd><p>end the current frame (and return it)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.positionfrom">
<tt class="descclassname">Lumpy.</tt><tt class="descname">positionfrom</tt><big>(</big><em>who=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.positionfrom" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that the position of this widget shall
be defined by the user if WHO is &#8220;user&#8221;, and by its own policy if WHO is
&#8220;program&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.propagate">
<tt class="descclassname">Lumpy.</tt><tt class="descname">propagate</tt><big>(</big><em>flag=['_noarg_']</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.propagate" title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the status for propagation of geometry information.</p>
<p>A boolean argument specifies whether the geometry information
of the slaves will determine the size of this widget. If no argument
is given the current setting will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.protocol">
<tt class="descclassname">Lumpy.</tt><tt class="descname">protocol</tt><big>(</big><em>name=None</em>, <em>func=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.protocol" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind function FUNC to command NAME for this widget.
Return the function bound to NAME if None is given. NAME could be
e.g. &#8220;WM_SAVE_YOURSELF&#8221; or &#8220;WM_DELETE_WINDOW&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.pushfr">
<tt class="descclassname">Lumpy.</tt><tt class="descname">pushfr</tt><big>(</big><em>frame</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.pushfr" title="Permalink to this definition">¶</a></dt>
<dd><p>push a frame onto the frame stack</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.quit">
<tt class="descclassname">Lumpy.</tt><tt class="descname">quit</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.quit" title="Permalink to this definition">¶</a></dt>
<dd><p>Quit the Tcl interpreter. All widgets will be destroyed.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.rb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">rb</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.rb" title="Permalink to this definition">¶</a></dt>
<dd><p>make a radiobutton</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.readprofile">
<tt class="descclassname">Lumpy.</tt><tt class="descname">readprofile</tt><big>(</big><em>baseName</em>, <em>className</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.readprofile" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function. It reads BASENAME.tcl and CLASSNAME.tcl into
the Tcl Interpreter and calls execfile on BASENAME.py and CLASSNAME.py if
such a file exists in the home directory.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.register">
<tt class="descclassname">Lumpy.</tt><tt class="descname">register</tt><big>(</big><em>thing</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.register"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.register" title="Permalink to this definition">¶</a></dt>
<dd><p>associate a value with the Thing that represents it,
so that we can check later whether we have already created
a Thing for a given value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.report_callback_exception">
<tt class="descclassname">Lumpy.</tt><tt class="descname">report_callback_exception</tt><big>(</big><em>exc</em>, <em>val</em>, <em>tb</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.report_callback_exception" title="Permalink to this definition">¶</a></dt>
<dd><p>Internal function. It reports exception on sys.stderr.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.resizable">
<tt class="descclassname">Lumpy.</tt><tt class="descname">resizable</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.resizable" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager whether this width can be resized
in WIDTH or HEIGHT. Both values are boolean values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.restrict_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">restrict_class</tt><big>(</big><em>classobj</em>, <em>vars=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.restrict_class"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.restrict_class" title="Permalink to this definition">¶</a></dt>
<dd><p>restrict this class so that when it is drawn, only
the given vars are shown</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.rowconfigure">
<tt class="descclassname">Lumpy.</tt><tt class="descname">rowconfigure</tt><big>(</big><em>index</em>, <em>cnf={}</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.rowconfigure" title="Permalink to this definition">¶</a></dt>
<dd><p>Configure row INDEX of a grid.</p>
<p>Valid resources are minsize (minimum size of the row),
weight (how much does additional space propagate to this row)
and pad (how much space to let additionally).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.rowweights">
<tt class="descclassname">Lumpy.</tt><tt class="descname">rowweights</tt><big>(</big><em>weights</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.rowweights" title="Permalink to this definition">¶</a></dt>
<dd><p>attach weights to the rows of the current grid.
These weights control how the rows in the grid expand
when the grid expands.  The default weight is 0, which
means that the row doesn&#8217;t expand.  If only one
row has a value, it gets all the extra space.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.sb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">sb</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.sb" title="Permalink to this definition">¶</a></dt>
<dd><p>make a text scrollbar</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.sc">
<tt class="descclassname">Lumpy.</tt><tt class="descname">sc</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.sc" title="Permalink to this definition">¶</a></dt>
<dd><p>make a scrollable canvas.
The options provided  apply to the frame only;
if you want to configure the other widgets, you have to do
it after invoking st</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.selection_clear">
<tt class="descclassname">Lumpy.</tt><tt class="descname">selection_clear</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.selection_clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Clear the current X selection.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.selection_get">
<tt class="descclassname">Lumpy.</tt><tt class="descname">selection_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.selection_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the contents of the current X selection.</p>
<p>A keyword parameter selection specifies the name of
the selection and defaults to PRIMARY.  A keyword
parameter displayof specifies a widget on the display
to use.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.selection_handle">
<tt class="descclassname">Lumpy.</tt><tt class="descname">selection_handle</tt><big>(</big><em>command</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.selection_handle" title="Permalink to this definition">¶</a></dt>
<dd><p>Specify a function COMMAND to call if the X
selection owned by this widget is queried by another
application.</p>
<p>This function must return the contents of the
selection. The function will be called with the
arguments OFFSET and LENGTH which allows the chunking
of very long selections. The following keyword
parameters can be provided:
selection - name of the selection (default PRIMARY),
type - type of the selection (e.g. STRING, FILE_NAME).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.selection_own">
<tt class="descclassname">Lumpy.</tt><tt class="descname">selection_own</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.selection_own" title="Permalink to this definition">¶</a></dt>
<dd><p>Become owner of X selection.</p>
<p>A keyword parameter selection specifies the name of
the selection (default PRIMARY).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.selection_own_get">
<tt class="descclassname">Lumpy.</tt><tt class="descname">selection_own_get</tt><big>(</big><em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.selection_own_get" title="Permalink to this definition">¶</a></dt>
<dd><p>Return owner of X selection.</p>
<p>The following keyword parameter can
be provided:
selection - name of the selection (default PRIMARY),
type - type of the selection (e.g. STRING, FILE_NAME).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.send">
<tt class="descclassname">Lumpy.</tt><tt class="descname">send</tt><big>(</big><em>interp</em>, <em>cmd</em>, <em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.send" title="Permalink to this definition">¶</a></dt>
<dd><p>Send Tcl command CMD to different interpreter INTERP to be executed.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.setvar">
<tt class="descclassname">Lumpy.</tt><tt class="descname">setvar</tt><big>(</big><em>name='PY_VAR'</em>, <em>value='1'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.setvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Tcl variable NAME to VALUE.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.size">
<tt class="descclassname">Lumpy.</tt><tt class="descname">size</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.size" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of the number of column and rows in the grid.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.sizefrom">
<tt class="descclassname">Lumpy.</tt><tt class="descname">sizefrom</tt><big>(</big><em>who=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.sizefrom" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that the size of this widget shall
be defined by the user if WHO is &#8220;user&#8221;, and by its own policy if WHO is
&#8220;program&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.slaves">
<tt class="descclassname">Lumpy.</tt><tt class="descname">slaves</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.slaves" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all slaves of this widget
in its packing order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.st">
<tt class="descclassname">Lumpy.</tt><tt class="descname">st</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.st" title="Permalink to this definition">¶</a></dt>
<dd><p>make a scrollable text entry</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.state">
<tt class="descclassname">Lumpy.</tt><tt class="descname">state</tt><big>(</big><em>newstate=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.state" title="Permalink to this definition">¶</a></dt>
<dd><p>Query or set the state of this widget as one of normal, icon,
iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.te">
<tt class="descclassname">Lumpy.</tt><tt class="descname">te</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.te" title="Permalink to this definition">¶</a></dt>
<dd><p>make a text entry</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.title">
<tt class="descclassname">Lumpy.</tt><tt class="descname">title</tt><big>(</big><em>string=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.title" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the title of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_bisque">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_bisque</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_bisque" title="Permalink to this definition">¶</a></dt>
<dd><p>Change the color scheme to light brown as used in Tk 3.6 and before.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_focusFollowsMouse">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_focusFollowsMouse</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_focusFollowsMouse" title="Permalink to this definition">¶</a></dt>
<dd><p>The widget under mouse will get automatically focus. Can not
be disabled easily.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_focusNext">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_focusNext</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_focusNext" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the next widget in the focus order which follows
widget which has currently the focus.</p>
<p>The focus order first goes to the next child, then to
the children of the child recursively and then to the
next sibling which is higher in the stacking order.  A
widget is omitted if it has the takefocus resource set
to 0.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_focusPrev">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_focusPrev</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_focusPrev" title="Permalink to this definition">¶</a></dt>
<dd><p>Return previous widget in the focus order. See tk_focusNext for details.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_menuBar">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_menuBar</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_menuBar" title="Permalink to this definition">¶</a></dt>
<dd><p>Do not use. Needed in Tk 3.6 and earlier.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_setPalette">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_setPalette</tt><big>(</big><em>*args</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_setPalette" title="Permalink to this definition">¶</a></dt>
<dd><p>Set a new color scheme for all widget elements.</p>
<p>A single color as argument will cause that all colors of Tk
widget elements are derived from this.
Alternatively several keyword parameters and its associated
colors can be given. The following keywords are valid:
activeBackground, foreground, selectColor,
activeForeground, highlightBackground, selectBackground,
background, highlightColor, selectForeground,
disabledForeground, insertBackground, troughColor.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tk_strictMotif">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tk_strictMotif</tt><big>(</big><em>boolean=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tk_strictMotif" title="Permalink to this definition">¶</a></dt>
<dd><p>Set Tcl internal variable, whether the look and feel
should adhere to Motif.</p>
<p>A parameter of 1 means adhere to Motif (e.g. no color
change if mouse passes over slider).
Returns the set value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tkraise">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tkraise</tt><big>(</big><em>aboveThis=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tkraise" title="Permalink to this definition">¶</a></dt>
<dd><p>Raise this widget in the stacking order.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.tl">
<tt class="descclassname">Lumpy.</tt><tt class="descname">tl</tt><big>(</big><em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.tl" title="Permalink to this definition">¶</a></dt>
<dd><p>make a return a top level window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.transient">
<tt class="descclassname">Lumpy.</tt><tt class="descname">transient</tt><big>(</big><em>master=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.transient" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that this widget is transient
with regard to widget MASTER.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.transparent_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">transparent_class</tt><big>(</big><em>classobj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Lumpy.transparent_class"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Lumpy.transparent_class" title="Permalink to this definition">¶</a></dt>
<dd><p>remove the given type or class from the dictionary, which
means that it&#8217;s attributes will be shown.  If it is not in
the dictionary, raise an exception.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.unbind">
<tt class="descclassname">Lumpy.</tt><tt class="descname">unbind</tt><big>(</big><em>sequence</em>, <em>funcid=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.unbind" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for this widget for event SEQUENCE  the
function identified with FUNCID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.unbind_all">
<tt class="descclassname">Lumpy.</tt><tt class="descname">unbind_all</tt><big>(</big><em>sequence</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.unbind_all" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for all widgets for event SEQUENCE all functions.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.unbind_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">unbind_class</tt><big>(</big><em>className</em>, <em>sequence</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.unbind_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE
all functions.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.update">
<tt class="descclassname">Lumpy.</tt><tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.update" title="Permalink to this definition">¶</a></dt>
<dd><p>Enter event loop until all pending events have been processed by Tcl.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.update_idletasks">
<tt class="descclassname">Lumpy.</tt><tt class="descname">update_idletasks</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.update_idletasks" title="Permalink to this definition">¶</a></dt>
<dd><p>Enter event loop until all idle callbacks have been called. This
will update the display of windows but not process events caused by
the user.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wait_variable">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wait_variable</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wait_variable" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the variable is modified.</p>
<p>A parameter of type IntVar, StringVar, DoubleVar or
BooleanVar must be given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wait_visibility">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wait_visibility</tt><big>(</big><em>window=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wait_visibility" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the visibility of a WIDGET changes
(e.g. it appears).</p>
<p>If no parameter is given self is used.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wait_window">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wait_window</tt><big>(</big><em>window=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wait_window" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until a WIDGET is destroyed.</p>
<p>If no parameter is given self is used.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.waitvar">
<tt class="descclassname">Lumpy.</tt><tt class="descname">waitvar</tt><big>(</big><em>name='PY_VAR'</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.waitvar" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the variable is modified.</p>
<p>A parameter of type IntVar, StringVar, DoubleVar or
BooleanVar must be given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.widget">
<tt class="descclassname">Lumpy.</tt><tt class="descname">widget</tt><big>(</big><em>constructor</em>, <em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.widget" title="Permalink to this definition">¶</a></dt>
<dd><p>this is the kernel of the widget constructors.
(constructor) is the function that will
be called to build the new widget. (args) is rolled
into (options), and then (options) is split into widget
options, pack options and grid options</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_atom">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_atom</tt><big>(</big><em>name</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_atom" title="Permalink to this definition">¶</a></dt>
<dd><p>Return integer which represents atom NAME.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_atomname">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_atomname</tt><big>(</big><em>id</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_atomname" title="Permalink to this definition">¶</a></dt>
<dd><p>Return name of atom with identifier ID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_cells">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_cells</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_cells" title="Permalink to this definition">¶</a></dt>
<dd><p>Return number of cells in the colormap for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_children">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_children</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_children" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all widgets which are children of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_class">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_class</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Return window class name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_colormapfull">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_colormapfull</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_colormapfull" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if at the last color request the colormap was full.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_containing">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_containing</tt><big>(</big><em>rootX</em>, <em>rootY</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_containing" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the widget which is at the root coordinates ROOTX, ROOTY.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_depth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_depth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_depth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of bits per pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_exists">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_exists</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_exists" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if this widget exists.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_fpixels">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_fpixels</tt><big>(</big><em>number</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_fpixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels for the given distance NUMBER
(e.g. &#8220;3c&#8221;) as float.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_geometry">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_geometry</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_geometry" title="Permalink to this definition">¶</a></dt>
<dd><p>Return geometry string for this widget in the form &#8220;widthxheight+X+Y&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_height">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_height</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_height" title="Permalink to this definition">¶</a></dt>
<dd><p>Return height of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_id">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_id</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_id" title="Permalink to this definition">¶</a></dt>
<dd><p>Return identifier ID for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_interps">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_interps</tt><big>(</big><em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_interps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of all Tcl interpreters for this display.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_ismapped">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_ismapped</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_ismapped" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if this widget is mapped.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_manager">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_manager</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_manager" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the window mananger name for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_name">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_name</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_name" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_parent">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_parent</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_parent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of the parent of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_pathname">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_pathname</tt><big>(</big><em>id</em>, <em>displayof=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_pathname" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the pathname of the widget given by ID.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_pixels">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_pixels</tt><big>(</big><em>number</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_pixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Rounded integer value of winfo_fpixels.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_pointerx">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_pointerx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_pointerx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x coordinate of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_pointerxy">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_pointerxy</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_pointerxy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a tuple of x and y coordinates of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_pointery">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_pointery</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_pointery" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y coordinate of the pointer on the root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_reqheight">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_reqheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_reqheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return requested height of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_reqwidth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_reqwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_reqwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return requested width of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_rgb">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_rgb</tt><big>(</big><em>color</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_rgb" title="Permalink to this definition">¶</a></dt>
<dd><p>Return tuple of decimal values for red, green, blue for
COLOR in this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_rootx">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_rootx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_rootx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return x coordinate of upper left corner of this widget on the
root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_rooty">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_rooty</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_rooty" title="Permalink to this definition">¶</a></dt>
<dd><p>Return y coordinate of upper left corner of this widget on the
root window.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screen">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screen</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screen" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the screen name of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screencells">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screencells</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screencells" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of the cells in the colormap of the screen
of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screendepth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screendepth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screendepth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of bits per pixel of the root window of the
screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screenheight">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screenheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screenheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the height of the screen of this widget
in pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screenmmheight">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screenmmheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screenmmheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the height of the screen of
this widget in mm.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screenmmwidth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screenmmwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screenmmwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the width of the screen of
this widget in mm.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screenvisual">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screenvisual</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screenvisual" title="Permalink to this definition">¶</a></dt>
<dd><p>Return one of the strings directcolor, grayscale, pseudocolor,
staticcolor, staticgray, or truecolor for the default
colormodel of this screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_screenwidth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_screenwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_screenwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the number of pixels of the width of the screen of
this widget in pixel.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_server">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_server</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_server" title="Permalink to this definition">¶</a></dt>
<dd><p>Return information of the X-Server of the screen of this widget in
the form &#8220;XmajorRminor vendor vendorVersion&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_toplevel">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_toplevel</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_toplevel" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the toplevel widget of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_viewable">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_viewable</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_viewable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if the widget and all its higher ancestors are mapped.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_visual">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_visual</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_visual" title="Permalink to this definition">¶</a></dt>
<dd><p>Return one of the strings directcolor, grayscale, pseudocolor,
staticcolor, staticgray, or truecolor for the
colormodel of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_visualid">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_visualid</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_visualid" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the X identifier for the visual for this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_visualsavailable">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_visualsavailable</tt><big>(</big><em>includeids=0</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_visualsavailable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of all visuals available for the screen
of this widget.</p>
<p>Each item in the list consists of a visual name (see winfo_visual), a
depth and if INCLUDEIDS=1 is given also the X identifier.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_vrootheight">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_vrootheight</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_vrootheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the height of the virtual root window associated with this
widget in pixels. If there is no virtual root window return the
height of the screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_vrootwidth">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_vrootwidth</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_vrootwidth" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the width of the virtual root window associated with this
widget in pixel. If there is no virtual root window return the
width of the screen.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_vrootx">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_vrootx</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_vrootx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x offset of the virtual root relative to the root
window of the screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_vrooty">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_vrooty</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_vrooty" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y offset of the virtual root relative to the root
window of the screen of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_width">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_width</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_width" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the width of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_x">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_x</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_x" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the x coordinate of the upper left corner of this widget
in the parent.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.winfo_y">
<tt class="descclassname">Lumpy.</tt><tt class="descname">winfo_y</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.winfo_y" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the y coordinate of the upper left corner of this widget
in the parent.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.withdraw">
<tt class="descclassname">Lumpy.</tt><tt class="descname">withdraw</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.withdraw" title="Permalink to this definition">¶</a></dt>
<dd><p>Withdraw this widget from the screen such that it is unmapped
and forgotten by the window manager. Re-draw it with wm_deiconify.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_aspect">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_aspect</tt><big>(</big><em>minNumer=None</em>, <em>minDenom=None</em>, <em>maxNumer=None</em>, <em>maxDenom=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_aspect" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager to set the aspect ratio (width/height)
of this widget to be between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. Return a tuple
of the actual values if no argument is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_attributes">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_attributes</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_attributes" title="Permalink to this definition">¶</a></dt>
<dd><p>This subcommand returns or sets platform specific attributes</p>
<p>The first form returns a list of the platform specific flags and
their values. The second form returns the value for the specific
option. The third form sets one or more of the values. The values
are as follows:</p>
<p>On Windows, -disabled gets or sets whether the window is in a
disabled state. -toolwindow gets or sets the style of the window
to toolwindow (as defined in the MSDN). -topmost gets or sets
whether this is a topmost window (displays above all other
windows).</p>
<p>On Macintosh, XXXXX</p>
<p>On Unix, there are currently no special attribute values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_client">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_client</tt><big>(</big><em>name=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_client" title="Permalink to this definition">¶</a></dt>
<dd><p>Store NAME in WM_CLIENT_MACHINE property of this widget. Return
current value.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_colormapwindows">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_colormapwindows</tt><big>(</big><em>*wlist</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_colormapwindows" title="Permalink to this definition">¶</a></dt>
<dd><p>Store list of window names (WLIST) into WM_COLORMAPWINDOWS property
of this widget. This list contains windows whose colormaps differ from their
parents. Return current list of widgets if WLIST is empty.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_command">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_command</tt><big>(</big><em>value=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_command" title="Permalink to this definition">¶</a></dt>
<dd><p>Store VALUE in WM_COMMAND property. It is the command
which shall be used to invoke the application. Return current
command if VALUE is None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_deiconify">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_deiconify</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_deiconify" title="Permalink to this definition">¶</a></dt>
<dd><p>Deiconify this widget. If it was never mapped it will not be mapped.
On Windows it will raise this widget and give it the focus.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_focusmodel">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_focusmodel</tt><big>(</big><em>model=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_focusmodel" title="Permalink to this definition">¶</a></dt>
<dd><p>Set focus model to MODEL. &#8220;active&#8221; means that this widget will claim
the focus itself, &#8220;passive&#8221; means that the window manager shall give
the focus. Return current focus model if MODEL is None.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_frame">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_frame</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_frame" title="Permalink to this definition">¶</a></dt>
<dd><p>Return identifier for decorative frame of this widget if present.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_geometry">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_geometry</tt><big>(</big><em>newGeometry=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_geometry" title="Permalink to this definition">¶</a></dt>
<dd><p>Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
current value if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_grid">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_grid</tt><big>(</big><em>baseWidth=None</em>, <em>baseHeight=None</em>, <em>widthInc=None</em>, <em>heightInc=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_grid" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that this widget shall only be
resized on grid boundaries. WIDTHINC and HEIGHTINC are the width and
height of a grid unit in pixels. BASEWIDTH and BASEHEIGHT are the
number of grid units requested in Tk_GeometryRequest.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_group">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_group</tt><big>(</big><em>pathName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_group" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the group leader widgets for related widgets to PATHNAME. Return
the group leader of this widget if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconbitmap">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconbitmap</tt><big>(</big><em>bitmap=None</em>, <em>default=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconbitmap" title="Permalink to this definition">¶</a></dt>
<dd><p>Set bitmap for the iconified widget to BITMAP. Return
the bitmap if None is given.</p>
<p>Under Windows, the DEFAULT parameter can be used to set the icon
for the widget and any descendents that don&#8217;t have an icon set
explicitly.  DEFAULT can be the relative path to a .ico file
(example: root.iconbitmap(default=&#8217;myicon.ico&#8217;) ).  See Tk
documentation for more information.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconify">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconify</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconify" title="Permalink to this definition">¶</a></dt>
<dd><p>Display widget as icon.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconmask">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconmask</tt><big>(</big><em>bitmap=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconmask" title="Permalink to this definition">¶</a></dt>
<dd><p>Set mask for the icon bitmap of this widget. Return the
mask if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconname">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconname</tt><big>(</big><em>newName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconname" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name of the icon for this widget. Return the name if
None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconposition">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconposition</tt><big>(</big><em>x=None</em>, <em>y=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconposition" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the position of the icon of this widget to X and Y. Return
a tuple of the current values of X and X if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_iconwindow">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_iconwindow</tt><big>(</big><em>pathName=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_iconwindow" title="Permalink to this definition">¶</a></dt>
<dd><p>Set widget PATHNAME to be displayed instead of icon. Return the current
value if None is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_maxsize">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_maxsize</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_maxsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Set max WIDTH and HEIGHT for this widget. If the window is gridded
the values are given in grid units. Return the current values if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_minsize">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_minsize</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_minsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Set min WIDTH and HEIGHT for this widget. If the window is gridded
the values are given in grid units. Return the current values if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_overrideredirect">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_overrideredirect</tt><big>(</big><em>boolean=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_overrideredirect" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager to ignore this widget
if BOOLEAN is given with 1. Return the current value if None
is given.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_positionfrom">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_positionfrom</tt><big>(</big><em>who=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_positionfrom" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that the position of this widget shall
be defined by the user if WHO is &#8220;user&#8221;, and by its own policy if WHO is
&#8220;program&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_protocol">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_protocol</tt><big>(</big><em>name=None</em>, <em>func=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_protocol" title="Permalink to this definition">¶</a></dt>
<dd><p>Bind function FUNC to command NAME for this widget.
Return the function bound to NAME if None is given. NAME could be
e.g. &#8220;WM_SAVE_YOURSELF&#8221; or &#8220;WM_DELETE_WINDOW&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_resizable">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_resizable</tt><big>(</big><em>width=None</em>, <em>height=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_resizable" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager whether this width can be resized
in WIDTH or HEIGHT. Both values are boolean values.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_sizefrom">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_sizefrom</tt><big>(</big><em>who=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_sizefrom" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that the size of this widget shall
be defined by the user if WHO is &#8220;user&#8221;, and by its own policy if WHO is
&#8220;program&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_state">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_state</tt><big>(</big><em>newstate=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_state" title="Permalink to this definition">¶</a></dt>
<dd><p>Query or set the state of this widget as one of normal, icon,
iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_title">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_title</tt><big>(</big><em>string=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_title" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the title of this widget.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_transient">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_transient</tt><big>(</big><em>master=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_transient" title="Permalink to this definition">¶</a></dt>
<dd><p>Instruct the window manager that this widget is transient
with regard to widget MASTER.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Lumpy.wm_withdraw">
<tt class="descclassname">Lumpy.</tt><tt class="descname">wm_withdraw</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Lumpy.wm_withdraw" title="Permalink to this definition">¶</a></dt>
<dd><p>Withdraw this widget from the screen such that it is unmapped
and forgotten by the window manager. Re-draw it with wm_deiconify.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Mapping">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Mapping</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>the graphical representation of a mapping type (usually a
dictionary).  Sequence and Instance inherit from Mapping.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.bbox" title="scitools.Lumpy.Mapping.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>the bbox of a Mapping is the bbox of its box item.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.bind" title="scitools.Lumpy.Mapping.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.down" title="scitools.Lumpy.Mapping.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.draw" title="scitools.Lumpy.Mapping.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.drawme" title="scitools.Lumpy.Mapping.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>drawme is the middle part of the way objects are drawn.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.isdrawn" title="scitools.Lumpy.Mapping.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.motion" title="scitools.Lumpy.Mapping.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.pos" title="scitools.Lumpy.Mapping.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.scan_bindings" title="scitools.Lumpy.Mapping.scan_bindings"><tt class="xref py py-obj docutils literal"><span class="pre">scan_bindings</span></tt></a>(cls)</td>
<td>scan the bindings in this mapping, looking for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.scan_val" title="scitools.Lumpy.Mapping.scan_val"><tt class="xref py py-obj docutils literal"><span class="pre">scan_val</span></tt></a>(cls,&nbsp;val)</td>
<td>if we find a reference to an object type, make a note</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.set_offset" title="scitools.Lumpy.Mapping.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Mapping.up" title="scitools.Lumpy.Mapping.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Mapping.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Mapping.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'scan_bindings': &lt;function scan_bindings at 0x50ecc08&gt;, '__module__': 'scitools.Lumpy', 'scan_val': &lt;function scan_val at 0x50ecc80&gt;, 'drawme': &lt;function drawme at 0x50ecb90&gt;, '__doc__': 'the graphical representation of a mapping type (usually a\n    dictionary).  Sequence and Instance inherit from Mapping.', '__init__': &lt;function __init__ at 0x50ecaa0&gt;, 'bbox': &lt;function bbox at 0x50ecb18&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Mapping.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Mapping.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Mapping.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Mapping.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Mapping.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Mapping.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Mapping.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Mapping.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping.bbox"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>the bbox of a Mapping is the bbox of its box item.
This is different from other Things.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping.drawme" title="Permalink to this definition">¶</a></dt>
<dd><p>drawme is the middle part of the way objects are drawn.
Thing.draw does some prep work, invokes drawme, and then
does some cleanup.  draw and drawme are not allowed to
modify pos.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.scan_bindings">
<tt class="descname">scan_bindings</tt><big>(</big><em>cls</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping.scan_bindings"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping.scan_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>scan the bindings in this mapping, looking for
references to other object types.  cls is the Class
of the object that contains this mapping</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.scan_val">
<tt class="descname">scan_val</tt><big>(</big><em>cls</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Mapping.scan_val"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Mapping.scan_val" title="Permalink to this definition">¶</a></dt>
<dd><p>if we find a reference to an object type, make a note
of the HAS-A relationship.  If we find a reference to a
container type, scan it for references.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Mapping.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Mapping.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Mapping.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Mapping.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Mapping.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.NumPyArray">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">NumPyArray</tt><big>(</big><em>a</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#NumPyArray"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.NumPyArray" title="Permalink to this definition">¶</a></dt>
<dd><dl class="method">
<dt id="scitools.Lumpy.NumPyArray.__init__">
<tt class="descname">__init__</tt><big>(</big><em>a</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#NumPyArray.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.NumPyArray.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.NumPyArray.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.NumPyArray.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ObjectDiagram">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ObjectDiagram</tt><big>(</big><em>lumpy=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ObjectDiagram"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Diagram" title="scitools.Lumpy.Diagram"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Diagram</span></tt></a></p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.add_arrow" title="scitools.Lumpy.ObjectDiagram.add_arrow"><tt class="xref py py-obj docutils literal"><span class="pre">add_arrow</span></tt></a>(arrow)</td>
<td>append a new arrow on the list</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.ca" title="scitools.Lumpy.ObjectDiagram.ca"><tt class="xref py py-obj docutils literal"><span class="pre">ca</span></tt></a>(*args,&nbsp;**options)</td>
<td>make a canvas for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.clear" title="scitools.Lumpy.ObjectDiagram.clear"><tt class="xref py py-obj docutils literal"><span class="pre">clear</span></tt></a>()</td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.close" title="scitools.Lumpy.ObjectDiagram.close"><tt class="xref py py-obj docutils literal"><span class="pre">close</span></tt></a>()</td>
<td>close the window and exit</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.draw" title="scitools.Lumpy.ObjectDiagram.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(thing)</td>
<td>draw the given thing</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.draw_arrows" title="scitools.Lumpy.ObjectDiagram.draw_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">draw_arrows</span></tt></a>()</td>
<td>draw all the arrows on the list</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.printfile" title="scitools.Lumpy.ObjectDiagram.printfile"><tt class="xref py py-obj docutils literal"><span class="pre">printfile</span></tt></a>()</td>
<td>dump the contents of the canvas to the filename in the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.setup" title="scitools.Lumpy.ObjectDiagram.setup"><tt class="xref py py-obj docutils literal"><span class="pre">setup</span></tt></a>()</td>
<td>create the gui for the diagram</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.update_arrows" title="scitools.Lumpy.ObjectDiagram.update_arrows"><tt class="xref py py-obj docutils literal"><span class="pre">update_arrows</span></tt></a>([n])</td>
<td>update up to n arrows (or all of them is n==None)</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ObjectDiagram.update_snapshot" title="scitools.Lumpy.ObjectDiagram.update_snapshot"><tt class="xref py py-obj docutils literal"><span class="pre">update_snapshot</span></tt></a>(snapshot)</td>
<td></td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'draw': &lt;function draw at 0x50e8de8&gt;, 'clear': &lt;function clear at 0x50e8e60&gt;, '__module__': 'scitools.Lumpy', 'update_snapshot': &lt;function update_snapshot at 0x50e8ed8&gt;, '__doc__': None, '__init__': &lt;function __init__ at 0x50e8d70&gt;})</em><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ObjectDiagram.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ObjectDiagram.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__new__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ObjectDiagram.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ObjectDiagram.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.add_arrow">
<tt class="descname">add_arrow</tt><big>(</big><em>arrow</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.add_arrow" title="Permalink to this definition">¶</a></dt>
<dd><p>append a new arrow on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.ca">
<tt class="descname">ca</tt><big>(</big><em>*args</em>, <em>**options</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.ca" title="Permalink to this definition">¶</a></dt>
<dd><p>make a canvas for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.clear">
<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ObjectDiagram.clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.clear" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.close">
<tt class="descname">close</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.close" title="Permalink to this definition">¶</a></dt>
<dd><p>close the window and exit</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.draw">
<tt class="descname">draw</tt><big>(</big><em>thing</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ObjectDiagram.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw the given thing</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.draw_arrows">
<tt class="descname">draw_arrows</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.draw_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>draw all the arrows on the list</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.printfile">
<tt class="descname">printfile</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.printfile" title="Permalink to this definition">¶</a></dt>
<dd><p>dump the contents of the canvas to the filename in the
filename entry.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.setup">
<tt class="descname">setup</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.setup" title="Permalink to this definition">¶</a></dt>
<dd><p>create the gui for the diagram</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.update_arrows">
<tt class="descname">update_arrows</tt><big>(</big><em>n=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.update_arrows" title="Permalink to this definition">¶</a></dt>
<dd><p>update up to n arrows (or all of them is n==None)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ObjectDiagram.update_snapshot">
<tt class="descname">update_snapshot</tt><big>(</big><em>snapshot</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ObjectDiagram.update_snapshot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ObjectDiagram.update_snapshot" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ParentArrow">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ParentArrow</tt><big>(</big><em>lumpy</em>, <em>parent</em>, <em>child</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ParentArrow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ParentArrow" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>an inheritance arrow, which shows an is-a relationship
between classes in a class diagram.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.bbox" title="scitools.Lumpy.ParentArrow.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.bind" title="scitools.Lumpy.ParentArrow.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.down" title="scitools.Lumpy.ParentArrow.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.draw" title="scitools.Lumpy.ParentArrow.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag)</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.isdrawn" title="scitools.Lumpy.ParentArrow.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.motion" title="scitools.Lumpy.ParentArrow.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.pos" title="scitools.Lumpy.ParentArrow.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.set_offset" title="scitools.Lumpy.ParentArrow.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.up" title="scitools.Lumpy.ParentArrow.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ParentArrow.update" title="scitools.Lumpy.ParentArrow.update"><tt class="xref py py-obj docutils literal"><span class="pre">update</span></tt></a>()</td>
<td></td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'draw': &lt;function draw at 0x50eab18&gt;, 'update': &lt;function update at 0x50eab90&gt;, '__module__': 'scitools.Lumpy', '__init__': &lt;function __init__ at 0x50eaaa0&gt;, '__doc__': 'an inheritance arrow, which shows an is-a relationship\n    between classes in a class diagram.\n    '})</em><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>parent</em>, <em>child</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ParentArrow.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ParentArrow.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ParentArrow.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ParentArrow.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ParentArrow.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ParentArrow.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ParentArrow.draw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ParentArrow.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ParentArrow.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ParentArrow.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ParentArrow.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ParentArrow.update">
<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ParentArrow.update"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ParentArrow.update" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.ReferenceArrow">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">ReferenceArrow</tt><big>(</big><em>lumpy</em>, <em>key</em>, <em>val</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ReferenceArrow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>a reference arrow, which show a reference in an object diagram</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.bbox" title="scitools.Lumpy.ReferenceArrow.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.bind" title="scitools.Lumpy.ReferenceArrow.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.down" title="scitools.Lumpy.ReferenceArrow.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.draw" title="scitools.Lumpy.ReferenceArrow.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag)</td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.isdrawn" title="scitools.Lumpy.ReferenceArrow.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.motion" title="scitools.Lumpy.ReferenceArrow.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.pos" title="scitools.Lumpy.ReferenceArrow.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.set_offset" title="scitools.Lumpy.ReferenceArrow.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.up" title="scitools.Lumpy.ReferenceArrow.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.ReferenceArrow.update" title="scitools.Lumpy.ReferenceArrow.update"><tt class="xref py py-obj docutils literal"><span class="pre">update</span></tt></a>()</td>
<td></td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'draw': &lt;function draw at 0x50ea9b0&gt;, 'update': &lt;function update at 0x50eaa28&gt;, '__module__': 'scitools.Lumpy', '__init__': &lt;function __init__ at 0x50ea938&gt;, '__doc__': 'a reference arrow, which show a reference in an object diagram\n    '})</em><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>key</em>, <em>val</em>, <em>**options</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ReferenceArrow.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ReferenceArrow.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.ReferenceArrow.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ReferenceArrow.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.draw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.ReferenceArrow.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.ReferenceArrow.update">
<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#ReferenceArrow.update"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.ReferenceArrow.update" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Sequence">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Sequence</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Sequence"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Sequence" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Mapping" title="scitools.Lumpy.Mapping"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Mapping</span></tt></a></p>
<p>the graphical representation of a sequence type (mostly
lists and tuples)</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.bbox" title="scitools.Lumpy.Sequence.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>the bbox of a Mapping is the bbox of its box item.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.bind" title="scitools.Lumpy.Sequence.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.down" title="scitools.Lumpy.Sequence.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.draw" title="scitools.Lumpy.Sequence.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.drawme" title="scitools.Lumpy.Sequence.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>drawme is the middle part of the way objects are drawn.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.isdrawn" title="scitools.Lumpy.Sequence.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.motion" title="scitools.Lumpy.Sequence.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.pos" title="scitools.Lumpy.Sequence.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.scan_bindings" title="scitools.Lumpy.Sequence.scan_bindings"><tt class="xref py py-obj docutils literal"><span class="pre">scan_bindings</span></tt></a>(cls)</td>
<td>scan the bindings in this mapping, looking for</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.scan_val" title="scitools.Lumpy.Sequence.scan_val"><tt class="xref py py-obj docutils literal"><span class="pre">scan_val</span></tt></a>(cls,&nbsp;val)</td>
<td>if we find a reference to an object type, make a note</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.set_offset" title="scitools.Lumpy.Sequence.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Sequence.up" title="scitools.Lumpy.Sequence.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Sequence.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Sequence.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', '__doc__': 'the graphical representation of a sequence type (mostly\n    lists and tuples)\n    ', '__init__': &lt;function __init__ at 0x50ecd70&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Sequence.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Sequence.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Sequence.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Sequence.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Sequence.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Sequence.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Sequence.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Sequence.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Sequence.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Sequence.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>the bbox of a Mapping is the bbox of its box item.
This is different from other Things.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.drawme" title="Permalink to this definition">¶</a></dt>
<dd><p>drawme is the middle part of the way objects are drawn.
Thing.draw does some prep work, invokes drawme, and then
does some cleanup.  draw and drawme are not allowed to
modify pos.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.scan_bindings">
<tt class="descname">scan_bindings</tt><big>(</big><em>cls</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.scan_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>scan the bindings in this mapping, looking for
references to other object types.  cls is the Class
of the object that contains this mapping</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.scan_val">
<tt class="descname">scan_val</tt><big>(</big><em>cls</em>, <em>val</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.scan_val" title="Permalink to this definition">¶</a></dt>
<dd><p>if we find a reference to an object type, make a note
of the HAS-A relationship.  If we find a reference to a
container type, scan it for references.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Sequence.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Sequence.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Sequence.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Sequence.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Sequence.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Simple">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Simple</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Simple"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Simple" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>the graphical representation of a simple value like a number
or a string</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Simple.bbox" title="scitools.Lumpy.Simple.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Simple.bind" title="scitools.Lumpy.Simple.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Simple.down" title="scitools.Lumpy.Simple.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Simple.draw" title="scitools.Lumpy.Simple.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Simple.drawme" title="scitools.Lumpy.Simple.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Simple.isdrawn" title="scitools.Lumpy.Simple.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Simple.motion" title="scitools.Lumpy.Simple.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Simple.pos" title="scitools.Lumpy.Simple.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Simple.set_offset" title="scitools.Lumpy.Simple.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Simple.up" title="scitools.Lumpy.Simple.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Simple.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Simple.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__init__': &lt;function __init__ at 0x50ec8c0&gt;, '__module__': 'scitools.Lumpy', '__doc__': 'the graphical representation of a simple value like a number\n    or a string', 'drawme': &lt;function drawme at 0x50ec938&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Simple.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Simple.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Simple.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Simple.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Simple.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Simple.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Simple.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Simple.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Simple.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Simple.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Simple.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Simple.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Simple.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Simple.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Simple.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Simple.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Simple.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Snapframe">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Snapframe</tt><big>(</big><em>tup</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapframe"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapframe" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>the data structure that represents a frame</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Snapframe.subtract" title="scitools.Lumpy.Snapframe.subtract"><tt class="xref py py-obj docutils literal"><span class="pre">subtract</span></tt></a>(other)</td>
<td>delete all the keys in other from self</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Snapframe.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Snapframe.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', 'subtract': &lt;function subtract at 0x50e8140&gt;, '__dict__': &lt;attribute '__dict__' of 'Snapframe' objects&gt;, '__weakref__': &lt;attribute '__weakref__' of 'Snapframe' objects&gt;, '__doc__': 'the data structure that represents a frame', '__init__': &lt;function __init__ at 0x50e80c8&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Snapframe.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Snapframe.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.__init__">
<tt class="descname">__init__</tt><big>(</big><em>tup</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapframe.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapframe.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Snapframe.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Snapframe.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.Snapframe.__new__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Snapframe.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Snapframe.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Snapframe.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapframe.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapframe.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Snapframe.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapframe.subtract">
<tt class="descname">subtract</tt><big>(</big><em>other</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapframe.subtract"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapframe.subtract" title="Permalink to this definition">¶</a></dt>
<dd><p>delete all the keys in other from self</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Snapshot">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Snapshot</tt><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapshot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapshot" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>the data structure that represents a stack</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Snapshot.clean" title="scitools.Lumpy.Snapshot.clean"><tt class="xref py py-obj docutils literal"><span class="pre">clean</span></tt></a>(ref)</td>
<td>Remove all the variables in the reference stack from self</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Snapshot.spew" title="scitools.Lumpy.Snapshot.spew"><tt class="xref py py-obj docutils literal"><span class="pre">spew</span></tt></a>()</td>
<td>print the frames in this snapshot</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Snapshot.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Snapshot.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__module__': 'scitools.Lumpy', 'spew': &lt;function spew at 0x50e8230&gt;, 'clean': &lt;function clean at 0x50e82a8&gt;, '__dict__': &lt;attribute '__dict__' of 'Snapshot' objects&gt;, '__weakref__': &lt;attribute '__weakref__' of 'Snapshot' objects&gt;, '__doc__': 'the data structure that represents a stack', '__init__': &lt;function __init__ at 0x50e81b8&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Snapshot.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Snapshot.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.__init__">
<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapshot.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapshot.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>convert from the format returned by inspect
to a list of frames.  Drop the last three frames,
which are the Lumpy functions object_diagram, make_stack,
and Stack.__init__</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Snapshot.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Snapshot.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.Snapshot.__new__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Snapshot.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Snapshot.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Snapshot.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Snapshot.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Snapshot.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Snapshot.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.clean">
<tt class="descname">clean</tt><big>(</big><em>ref</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapshot.clean"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapshot.clean" title="Permalink to this definition">¶</a></dt>
<dd><p>Remove all the variables in the reference stack from self</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Snapshot.spew">
<tt class="descname">spew</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Snapshot.spew"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Snapshot.spew" title="Permalink to this definition">¶</a></dt>
<dd><p>print the frames in this snapshot</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Stack">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Stack</tt><big>(</big><em>lumpy</em>, <em>snapshot</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Stack"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Stack" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#scitools.Lumpy.Thing" title="scitools.Lumpy.Thing"><tt class="xref py py-class docutils literal"><span class="pre">scitools.Lumpy.Thing</span></tt></a></p>
<p>The graphical representation of a stack.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Stack.bbox" title="scitools.Lumpy.Stack.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Stack.bind" title="scitools.Lumpy.Stack.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Stack.down" title="scitools.Lumpy.Stack.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Stack.draw" title="scitools.Lumpy.Stack.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Stack.drawme" title="scitools.Lumpy.Stack.drawme"><tt class="xref py py-obj docutils literal"><span class="pre">drawme</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Stack.isdrawn" title="scitools.Lumpy.Stack.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Stack.motion" title="scitools.Lumpy.Stack.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Stack.pos" title="scitools.Lumpy.Stack.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Stack.set_offset" title="scitools.Lumpy.Stack.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Stack.up" title="scitools.Lumpy.Stack.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Stack.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Stack.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'__init__': &lt;function __init__ at 0x50ead70&gt;, '__module__': 'scitools.Lumpy', '__doc__': 'The graphical representation of a stack.\n    ', 'drawme': &lt;function drawme at 0x50eade8&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Stack.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Stack.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.__init__">
<tt class="descname">__init__</tt><big>(</big><em>lumpy</em>, <em>snapshot</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Stack.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Stack.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Stack.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Stack.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Stack.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Stack.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Stack.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Stack.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.drawme">
<tt class="descname">drawme</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Stack.drawme"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Stack.drawme" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Stack.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Stack.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Stack.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Stack.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Stack.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="scitools.Lumpy.Thing">
<em class="property">class </em><tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">Thing</tt><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>the parent class for objects that have a graphical
representation.  Each Thing object corresponds to an item
or set of items in a diagram.  A Thing can only be drawn in
one Diagram at a time.</p>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Thing.bbox" title="scitools.Lumpy.Thing.bbox"><tt class="xref py py-obj docutils literal"><span class="pre">bbox</span></tt></a>()</td>
<td>return the bounding box of this object if it is drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Thing.bind" title="scitools.Lumpy.Thing.bind"><tt class="xref py py-obj docutils literal"><span class="pre">bind</span></tt></a>([tags])</td>
<td>create bindings for each of the items with the given tags</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Thing.down" title="scitools.Lumpy.Thing.down"><tt class="xref py py-obj docutils literal"><span class="pre">down</span></tt></a>(event)</td>
<td>this callback is invoked when the user clicks on an item</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Thing.draw" title="scitools.Lumpy.Thing.draw"><tt class="xref py py-obj docutils literal"><span class="pre">draw</span></tt></a>(diag,&nbsp;pos,&nbsp;flip[,&nbsp;tags])</td>
<td>draw this Thing at the given position on the given</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Thing.isdrawn" title="scitools.Lumpy.Thing.isdrawn"><tt class="xref py py-obj docutils literal"><span class="pre">isdrawn</span></tt></a>()</td>
<td>return True if the object has been drawn</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Thing.motion" title="scitools.Lumpy.Thing.motion"><tt class="xref py py-obj docutils literal"><span class="pre">motion</span></tt></a>(event)</td>
<td>this callback is invoked when the user drags an item</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Thing.pos" title="scitools.Lumpy.Thing.pos"><tt class="xref py py-obj docutils literal"><span class="pre">pos</span></tt></a>()</td>
<td>Compute the nominal position of a Thing by getting the</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="#scitools.Lumpy.Thing.set_offset" title="scitools.Lumpy.Thing.set_offset"><tt class="xref py py-obj docutils literal"><span class="pre">set_offset</span></tt></a>(pos)</td>
<td>the offset attribute keeps track of the offset between</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="#scitools.Lumpy.Thing.up" title="scitools.Lumpy.Thing.up"><tt class="xref py py-obj docutils literal"><span class="pre">up</span></tt></a>(event)</td>
<td>this callback is invoked when the user releases the button</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__class__">
<tt class="descname">__class__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__class__" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__delattr__">
<tt class="descname">__delattr__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__delattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__dict__">
<tt class="descname">__dict__</tt><em class="property"> = dict_proxy({'down': &lt;function down at 0x50ec6e0&gt;, 'draw': &lt;function draw at 0x50ec5f0&gt;, 'isdrawn': &lt;function isdrawn at 0x50ec578&gt;, '__new__': &lt;staticmethod object at 0x528c788&gt;, 'up': &lt;function up at 0x50ec7d0&gt;, 'bind': &lt;function bind at 0x50ec668&gt;, '__module__': 'scitools.Lumpy', 'pos': &lt;function pos at 0x50ec500&gt;, 'motion': &lt;function motion at 0x50ec758&gt;, '__dict__': &lt;attribute '__dict__' of 'Thing' objects&gt;, 'things_drawn': 0, 'bbox': &lt;function bbox at 0x50ec410&gt;, 'things_created': 0, 'set_offset': &lt;function set_offset at 0x50ec488&gt;, '__doc__': 'the parent class for objects that have a graphical\n    representation.  Each Thing object corresponds to an item\n    or set of items in a diagram.  A Thing can only be drawn in\n    one Diagram at a time.\n    ', '__weakref__': &lt;attribute '__weakref__' of 'Thing' objects&gt;})</em><a class="headerlink" href="#scitools.Lumpy.Thing.__dict__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.__format__">
<tt class="descname">__format__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__format__" title="Permalink to this definition">¶</a></dt>
<dd><p>default object formatter</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__getattribute__">
<tt class="descname">__getattribute__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__getattribute__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__hash__">
<tt class="descname">__hash__</tt><big>(</big><em>) &lt;==&gt; hash(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__hash__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__init__">
<tt class="descname">__init__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__module__">
<tt class="descname">__module__</tt><em class="property"> = 'scitools.Lumpy'</em><a class="headerlink" href="#scitools.Lumpy.Thing.__module__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Thing.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.__new__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.__new__" title="Permalink to this definition">¶</a></dt>
<dd><p>override __new__ so we can count the number of Things</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.__reduce__">
<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__reduce__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.__reduce_ex__">
<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
<dd><p>helper for pickle</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__repr__">
<tt class="descname">__repr__</tt><big>(</big><em>) &lt;==&gt; repr(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__repr__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__setattr__">
<tt class="descname">__setattr__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__setattr__" title="Permalink to this definition">¶</a></dt>
<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.__sizeof__">
<tt class="descname">__sizeof__</tt><big>(</big><big>)</big> &rarr; int<a class="headerlink" href="#scitools.Lumpy.Thing.__sizeof__" title="Permalink to this definition">¶</a></dt>
<dd><p>size of object in memory, in bytes</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__str__">
<tt class="descname">__str__</tt><big>(</big><em>) &lt;==&gt; str(x</em><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__str__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="scitools.Lumpy.Thing.__subclasshook__">
<em class="property">static </em><tt class="descname">__subclasshook__</tt><big>(</big><big>)</big><a class="headerlink" href="#scitools.Lumpy.Thing.__subclasshook__" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract classes can override this to customize issubclass().</p>
<p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.__weakref__">
<tt class="descname">__weakref__</tt><a class="headerlink" href="#scitools.Lumpy.Thing.__weakref__" title="Permalink to this definition">¶</a></dt>
<dd><p>list of weak references to the object (if defined)</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.bbox">
<tt class="descname">bbox</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.bbox"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>return the bounding box of this object if it is drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.bind">
<tt class="descname">bind</tt><big>(</big><em>tags=None</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.bind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.bind" title="Permalink to this definition">¶</a></dt>
<dd><p>create bindings for each of the items with the given tags</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.down">
<tt class="descname">down</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.down"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.down" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user clicks on an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.draw">
<tt class="descname">draw</tt><big>(</big><em>diag</em>, <em>pos</em>, <em>flip</em>, <em>tags=()</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.draw"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>draw this Thing at the given position on the given
diagram with the given tags (in addition to the specific
tag for this thing).  flip=1 means draw left to right;
flip=-1 means right to left.  Return a list of Things
that were drawn.</p>
<p>draw and drawme are not allowed to mofify pos</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.isdrawn">
<tt class="descname">isdrawn</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.isdrawn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.isdrawn" title="Permalink to this definition">¶</a></dt>
<dd><p>return True if the object has been drawn</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.motion">
<tt class="descname">motion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.motion"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.motion" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user drags an item</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.pos">
<tt class="descname">pos</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.pos"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.pos" title="Permalink to this definition">¶</a></dt>
<dd><p>Compute the nominal position of a Thing by getting the
current bounding box and adding the offset.</p>
</dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.set_offset">
<tt class="descname">set_offset</tt><big>(</big><em>pos</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.set_offset"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.set_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>the offset attribute keeps track of the offset between
the bounding box of the Thing and its nominal position, so
that if the Thing is moved later, we can compute its new
nominal position.</p>
</dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.things_created">
<tt class="descname">things_created</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Thing.things_created" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="scitools.Lumpy.Thing.things_drawn">
<tt class="descname">things_drawn</tt><em class="property"> = 0</em><a class="headerlink" href="#scitools.Lumpy.Thing.things_drawn" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="scitools.Lumpy.Thing.up">
<tt class="descname">up</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#Thing.up"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.Thing.up" title="Permalink to this definition">¶</a></dt>
<dd><p>this callback is invoked when the user releases the button</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.hasclass">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">hasclass</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#hasclass"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.hasclass" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.hasdiag">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">hasdiag</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#hasdiag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.hasdiag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.hasdict">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">hasdict</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#hasdict"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.hasdict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.hasname">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">hasname</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#hasname"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.hasname" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.hasslots">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">hasslots</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#hasslots"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.hasslots" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.iscallable">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">iscallable</tt><big>(</big><em>obj</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#iscallable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.iscallable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.main">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">main</tt><big>(</big><em>script</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#main"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.main" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.make_bindings">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">make_bindings</tt><big>(</big><em>lumpy</em>, <em>iterator</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#make_bindings"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.make_bindings" title="Permalink to this definition">¶</a></dt>
<dd><p>return a list of bindings, one for each key-value pair
in iterator.  The keys are made into Index objects.</p>
</dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.make_kvps">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">make_kvps</tt><big>(</big><em>lumpy</em>, <em>iterator</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#make_kvps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.make_kvps" title="Permalink to this definition">¶</a></dt>
<dd><p>return a list of bindings, one for each key-value pair
in iterator.  The keys are made into Thing objects.</p>
</dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.make_tags">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">make_tags</tt><big>(</big><em>prefix='Tag'</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#make_tags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.make_tags" title="Permalink to this definition">¶</a></dt>
<dd><p>return a tuple with a single element: a tag string with
with the given prefix and a unique id as a suffix</p>
</dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.make_thing">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">make_thing</tt><big>(</big><em>lumpy</em>, <em>val</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#make_thing"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.make_thing" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Thing that represents this value, either
by making a new one or looking up an existing one.</p>
</dd></dl>

<dl class="function">
<dt id="scitools.Lumpy.union">
<tt class="descclassname">scitools.Lumpy.</tt><tt class="descname">union</tt><big>(</big><em>one</em>, <em>other</em><big>)</big><a class="reference internal" href="_modules/scitools/Lumpy.html#union"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scitools.Lumpy.union" title="Permalink to this definition">¶</a></dt>
<dd><p>return a new bbox that covers one and other,
assuming that the positive y direction is DOWN</p>
</dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/scitools_logo.jpg" alt="Logo"/>
            </a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/Lumpy.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="np-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li><a href="index.html">SciTools 0.9.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, H. P. Langtangen, J. Ring, ++.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.2.
    </div>
  </body>
</html>